AFM 112 - chp 6 Flashcards
1
Q
how to create a new variable
A
use the assign operator (<-) to redefine the data set to include the original and the new variables that have been created using the function mutate
2
Q
what’s the purpose of function glimpse
A
to review and verify variables
3
Q
what’s the purpose of the filter function
A
to focus on specific observations
4
Q
how can we generate a filter that imposes 2 constraints?
A
use the symbol “&”
5
Q
Why should we transition from spreadsheets to R
A
increases our degrees of freedom regarding the data we can analyze and the kind of analysis we can do