Task 1
3 + 5 * 2
What is the result?
Task 2
x <- c(4, 7, 2, 9)
x
What is the result?
Task 3
x <- c(10, 20, 30)
mean(x)
What is the result?
Task 4
v <- c(5, NA, 7)
sum(v, na.rm = TRUE)
What is the result?
Task 5
w <- c(2, 4, 6)
w[2]
What is the result?
Task 6
x <- c(TRUE, FALSE, TRUE)
sum(x)
What is the result?
Task 7
x <- c(3, 1, 4)
sort(x)
What is the result?
Alles klar?
Ich hoffe, der Beitrag war für dich soweit verständlich. Wenn du weitere Fragen hast, nutze bitte hier die Möglichkeit, eine Frage an mich zu stellen!
