Unformatted text preview: You should copy both the code you entered in the command line, as well as the output following each command (including graphs). Do not include any error messages. Note: spaces are not necessary, but R is case-sensitive. #Using R as a calculator# 2 + 2 108 - 57 5 * 6 81/9 2^3 sqrt(256) exp(10) #Enter a dataset by hand# X <- c(4, 5, 3, 9, 4, 7, 3, 2) mean(X) sd(X) summary(X) #Download a dataset from a URL# dat <- read.table("http://www.stat.umn.edu/~llendway/datasets/ex01_005.txt", header=T) attach(dat) head(dat) hist(Score)...
View Full Document
- Spring '11
- UCI race classifications, Word processor, Enter key, word processing document