BIO SCI 100 Midterm: 12

101 views1 pages

Document Summary

Rules: start w/ letter, no space/dash, no t/f, periods=okay, underline character(_) can be used, vectors in r: two type: atomic: all element must be same type, lists: double(2 diff types). Find attributes of vector>typeof() what it is, >length() how many element, >attributes() additional info like class(data frame=class: character vector: each charac must be in quote(double/single). Lists: collection of r obj. diff from atomic vector b/c have many element. use list() f(x). make lists of lists (x