Slide 1

Slide 1 text

http://stat545.com (Over?) Simple view of R objects random slides we refer to in the midst of live coding

Slide 2

Slide 2 text

@JennyBryan @jennybc @STAT545 http://stat545.com Dr. Jennifer (Jenny) Bryan Department of Statistics University of British Columbia [email protected]

Slide 3

Slide 3 text

Simple view Technically correct R view mode class typeof character character character character logical logical logical logical numeric numeric integer or numeric integer or double factor numeric factor integer a simple view of simple R objects that will get you pretty far

Slide 4

Slide 4 text

a simple view of simple R objects that will get you pretty far Simple view Technically correct R view mode class typeof character character character character logical logical logical logical numeric numeric integer or numeric integer or double factor numeric factor integer We will spend more time talking about factors in a future class.

Slide 5

Slide 5 text

vector list Collecting scalars of the same mode? yes no matrix yes Collecting vectors of the same length? no Collecting vectors of the same mode? data.frame yes no a simple view of less simple objects that will get you pretty far