R Basics
September 16, 2024
vec
, use vec[]
with one of these methods:
vec[n]
where n
is a positive integervec[c(i, j, k)]
where i
, j
, k
are positive integersvec[condition]
where condition is a logical expressiondata.frame
: Variables, Observations, and Values
There are three rules which make a data.frame
tidy:
:::
–> –> –> –>