Please complete before the next class.

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

An Extra Video

If you need a bit of extra help on the basics of R. You might find this video helpful. I talk about object-oriented programming, numeric vectors, and so on.

Loading Data

Read and review your notes, my notes, and my slides over the basics of loading data into R. Answer the review questions throughout the document. Remember to practice!

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

Creative Commons License
Carlisle Rainey