Monday, June 15, 2015

[4] Predefined Functions

Sum

sample code(s)
m <- sum(c(2,4,9))
m
[1] 15


Mean

sample code(s)
m <- mean(c(2,4,9))
m
[1] 5


No comments:

Post a Comment