Use the assignment operator <- to assign values to objects. You
can now manipulate that object in R
R contains a number of functions you use to do something with your
data. Functions automate more complicated sets of commands. Many
functions are predefined, or can be made available by importing R
packages
A vector is a sequence of elements of the same type. All data in a
vector must be of the same type–character, numeric (or double), integer,
and logical. Create vectors with c(). Use \[
\] to subset values from vectors.