Please complete before the next class.

Make sure that you’ve completed all previous HW first.


R

See the previous HW if you haven’t got RStudio working on your computer yet.

Read and review your notes and my notes over the basics of computing with R. Answer the review questions thoughout the document. Be especially careful with the sections on factor vectors and missing values–we didn’t talk about those in class.

b <- c("Male", "Female)  # missing the second " after "Female"
exp(23  # forgot to close a parentheses
log(10 base = 2)  # missing comma between arguments

a <- c(1, 2, 3)
mean(A)  # R is case-sensitive--there's an object "a", but no object "A" 
mena(a)  # misspelled function name
Mean(a)  # R is case-senstive

Textbook and Calculator

Once you have obtained the textbook and calculator (see the syllabus for the details), there is an assignment on Cavnas worth 1 point. It asks for a selfie with your textbook and calculator.


Creative Commons License
Carlisle Rainey