Forum Discussion

leneprd's avatar
leneprd
Regular Visitor
8 years ago

swirl function

Hi, Please help me with swirl function. this is what i get and stuck with it > my_mean <- function(my_vector) { + sum(my_vector)/length(my_vector) + } > my_mean(c(2,3,4)) [1] 3 >  [save] > s...