March 2019
Beginner to intermediate
250 pages
6h 6m
English
In addition to the functions and operators that we've seen for numerical values, there are some specific functions for vectors, such as the following:
sum(x)## [1] 23
prod(x)## [1] 360
length(x)## [1] 4
x## [1] 9 8 1 5x[1]<-22x## [1] 22 8 1 5
Read now
Unlock full access