chp2-handout.pdf
chp2.pdf
Chapter 2, Summarizing Data
assignment {r eval=FALSE} <-, =, <<-
use <-
for assignment,=
for keyword arguments, and <<-
is used for assignment outside of the current environment, e.g. in function definitions
=
can be used for assignment but it’s best to use <-
environments
environment()
# vs environment(rnorm)
search()
library(openintro) # cars vs datasets::cars
list.files()
getwd()
setwd()