M. Drew LaMar
February 8, 2016
“Statistics show that of those who contract the habit of eating, very few survive.”
- George Bernard Shaw
apply
family Due February 17/18
type = 5
is actually the correct type to reproduce W&S answers (facepalm) if (number < 10) {
if (number < 5) {result <- "extra small"}
else {result <- "small"}
} else if (number < 100) {
result <- "medium"
} else {result <- "large"}
print(result)
if (number < 10) {
if (number < 5) {
result <- "extra small"
} else {
result <- "small"
}
} else if (number < 100) {
result <- "medium"
} else {
result <- "large"
}
print(result)
# NO
fred <- read.csv("http://whitlockschluter.zoology.ubc.ca/wp-content/data/chapter03/chap03q21YeastMutantGrowth.csv")
# YES
yeastData <- read.csv("http://whitlockschluter.zoology.ubc.ca/wp-content/data/chapter03/chap03q21YeastMutantGrowth.csv")