Created
October 20, 2017 00:38
-
-
Save victorkurauchi/02b29efa9ccb4fadca04e9872e883f9d to your computer and use it in GitHub Desktop.
just a few exercises with r language
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # lista | |
| #1 | |
| x <- (sqrt(16)/2* 3^2) / 2 * (9-2^3) | |
| x | |
| #2 | |
| y <- -(-2^3) + (-1)^0 - sqrt(25-(3^2)) - 5^3/25 | |
| y | |
| #3 | |
| isGreater = x > y | |
| isGreater | |
| #4 | |
| a <- c(1, 2, 3) | |
| #5 | |
| 1 + a | |
| #6 | |
| a/2 | |
| #7 | |
| a*2 | |
| #8 | |
| b <- c(4, 5, 6) | |
| #9 | |
| a + b | |
| #10 | |
| a - b | |
| #11 | |
| c <- c(10, 10, 10) | |
| c == a | |
| #12 | |
| a < c | |
| #13 | |
| sqrt(sum(a+b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment