| Brain {BSDA} | R Documentation |
Data for Exercises 2.15, 2.44, 2.58 and Examples 2.3 and 2.20
Brain
A data frame with 28 observations on the following 5 variables.
SpeciesAfrician elephant Asian Elephant Brachiosaurus Cat Chimpanzee Cow Diplodocus Donkey Giraffe Goat Gorilla Gray wolf Guinea Pig Hamster Horse Human Jaguar Kangaroo Mole Mouse Mt Beaver Pig Potar monkey Rabbit Rat Rhesus monkey Sheep Triceratopsbody.wtbrain.wtlogbodylogbrainKitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Brain) attach(Brain) plot(logbody,logbrain,pch=19,col="blue",main="Example 2.3") model <- lm(logbrain~logbody) abline(model) detach(Brain)