chapter 3 getting started with r

Note

  1. Download and install R from r-project
  2. Or you can try it on the web based rdocumentation
myFamilyAges <- c(43,42,12,8,5)
myFamilyAges
sum(myFamilyAges)
mean(myFamilyAges)
range(myFamilyAges)
#add item to vector
myFamilyAges <- c( myFamilyAges,17)
myFamilyAges

r-doc

Challenge

Removing an item from a vector?

Reference