| Title: | The Analysis of Biological Data |
|---|---|
| Description: | The abd package contains data sets and sample code for The Analysis of Biological Data by Michael Whitlock and Dolph Schluter (2009; Roberts & Company Publishers). |
| Authors: | Kevin M. Middleton <[email protected]>, Randall Pruim <[email protected]> |
| Maintainer: | Kevin M. Middleton <[email protected]> |
| License: | GPL-2 |
| Version: | 0.2-10 |
| Built: | 2026-06-04 08:50:31 UTC |
| Source: | https://github.com/middleton-lab/abd |
The abd package contains data sets and sample code for the book,
The Analysis of Biological Data by Michael C. Whitlock and Dolph
Schluter (2009; Roberts and Company Publishers).
| Package: | abd |
| Type: | Package |
| Version: | 0.2-10 |
| Date: | 2024-04-21 |
| License: | GPL |
| LazyLoad: | yes |
| LazyData: | yes |
Kevin M. Middleton ([email protected]); Randall Pruim ([email protected])
Whitlock, M.C. and D. Schluter. 2009. The Analysis of Biological Data. Roberts and Company Publishers. ISBN: 0981519407. http://www.roberts-publishers.com/biology/the-analysis-of-biological-data.html
Useful links:
trellis.par.set(theme=col.abd()) # set color theme show.settings() abdData(3) # look for data sets in chapter 3 abdData('Finch') # look for data sets with 'finch' in nametrellis.par.set(theme=col.abd()) # set color theme show.settings() abdData(3) # look for data sets in chapter 3 abdData('Finch') # look for data sets with 'finch' in name
A utility function to assist users to locate data sets in Analysis of
Biological Data within the abd package.
abdData( ..., chapters = 1:21, types = c("Example", "Problem"), numbers = 1:100, pattern = "*", ignore.case = TRUE )abdData( ..., chapters = 1:21, types = c("Example", "Problem"), numbers = 1:100, pattern = "*", ignore.case = TRUE )
... |
values for any of |
chapters |
a numeric vector of chapters to search within |
types |
a sub-vector of c('Example','Problem') |
numbers |
a numeric vector of problem numbers |
pattern |
a pattern to use for regular expression matching against the name of the data frame. |
ignore.case |
should case be ignored when matching pattern? |
A data frame describing data sets from abd that match the
search criteria, or NULL if there are no matches.
Randall Pruim ([email protected])
# find all data from examples in chapters 3 and 4 abdData(3:4, "Example") # order doesn't matter abdData("Example", 3:4) # look for data sets with Example in their name. abdData(pattern="Example") # look for data sets with Exercise in their name. abdData("Exercise")# find all data from examples in chapters 3 and 4 abdData(3:4, "Example") # order doesn't matter abdData("Example", 3:4) # look for data sets with Example in their name. abdData(pattern="Example") # look for data sets with Exercise in their name. abdData("Exercise")
Growth rates of the unicellular alga Chlamydomonas after 1,000
generations of selection under High and Normal levels of
carbon dioxide.
AlgaeCO2AlgaeCO2
A data frame with 14 observations on the following 2 variables.
a factor with levels Normal and
High
a numeric vector
Collins, S. and G. Bell. 2004. Phenotypic consequences of 1,000
generations of selection at elevated CO in a green alga.
Nature 431: 566-569.
AlgaeCO2 xyplot(growthrate ~ treatment, AlgaeCO2, type = c('p', 'a'))AlgaeCO2 xyplot(growthrate ~ treatment, AlgaeCO2, type = c('p', 'a'))
Approximate dates of immigration for 37 species of birds in the Lesser Antilles.
AntillesAntilles
A data frame with 37 observations of one variable.
approximate immigration date (in millions of years)
inferred from Ricklefs, R.E. and E. Bermingham. 2001. Nonequilibrium diversity dynamics of the Lesser Antillean avifauna. Science 294: 1522-1524.
http://www.sciencemag.org/cgi/content/abstract/sci;294/5546/1522
histogram(~immigration.date, Antilles,n=15) densityplot(~immigration.date, Antilles)histogram(~immigration.date, Antilles,n=15) densityplot(~immigration.date, Antilles)
Frequency of cancer in 39,876 women taking and not taking aspirin.
AspirinAspirin
A data frame with 39876 observations on the following
a factor with levels Aspirin and
Placebo
a factor with levels no and
yes
Cook, N.R., I. Lee, J.M. Gaziano, D. Gordon, P.M. Ridker, J.E. Manson, C.H. Hennekens, and J.E. Buring. 2005. Low-dose aspirin in the primary prevention of cancer. Journal of the American Medical Association 294: 47-55.
http://www.ncbi.nlm.nih.gov/pubmed/15998890
demo(sec9.2)demo(sec9.2)
Levels of expression of the foraging gene (for; Expression) in
two worker types (type) in three bee colonies (colony). Note
that colony is not coded as a factor.
BeeGenesBeeGenes
A data frame with 6 observations on the following 3 variables.
a factor with levels forager
nurse
a numeric identifier
expression level of the for gene
Ben-Shahar, Y., A. Robichon, M.B. Sokolowski, and G.E. Robinson. 2002. Influence of gene action across different time scales on behavior. Science 296: 741-744.
str(BeeGenes) BeeGenes xtabs( expression ~ type + colony, BeeGenes )str(BeeGenes) BeeGenes xtabs( expression ~ type + colony, BeeGenes )
Lifespan of 33 foraging honey bees.
BeeLifespansBeeLifespans
A data frame with 33 observations on the following variable.
a numeric vector
inferred from Visscher, P.K. and R. Dukas. 1997. Survivorship of foraging honey bees. Insectes Sociaux 44: 1-5.
histogram(~hours, BeeLifespans, n=10) densityplot(~hours, BeeLifespans)histogram(~hours, BeeLifespans, n=10) densityplot(~hours, BeeLifespans)
Relative size of the horns and wings in 19 female Onthophagus sagittarius beetles.
BeetlesBeetles
A data frame with 19 observations on the following 2 variables.
a numeric vector
a numeric vector
Emlen, D.J. 2001. Costs and the diversification of exaggerated animal structures. Science 291: 1534-1536.
http://www.scienceonline.org/cgi/content/abstract/291/5508/1534
str(Beetles) xyplot(wing.mass ~ horn.size, Beetles)str(Beetles) xyplot(wing.mass ~ horn.size, Beetles)
Correlation coefficient of sex ratio in bird offspring.
BirdSexRatioBirdSexRatio
A data frame with 15 observations of one variable
correlation coefficient of sex ratio in bird offspring
West, S.A. and B.C. Sheldon. 2002. Constraints in the evolution of sex ratio adjustment. Science 295: 1695-1688.
histogram(~ corr.coeff, BirdSexRatio, n = 10, xlab = "Correlation Coefficient")histogram(~ corr.coeff, BirdSexRatio, n = 10, xlab = "Correlation Coefficient")
Experimental manipulation of testosterone levels in male Red-winged Blackbirds (Agelaius phoeniceus) and resulting changes in antibody levels
BlackbirdsBlackbirds
A data frame with 13 observations on the following 6 variables.
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
Hasselquist, D., J.A. Marsh, P.W. Sherman, and J.C. Wingfield. 1999. Is avian immunocompetence suppressed by testosterone? Behavioral Ecology and Sociobiology 45: 167-175.
Blackbirds xyplot(log.after ~ log.before, data = Blackbirds, ylab = "log Antibody production after implant", xlab = "log Antibody production before implant" )Blackbirds xyplot(log.after ~ log.before, data = Blackbirds, ylab = "log Antibody production after implant", xlab = "log Antibody production before implant" )
Heat loss during exercise and relative body fat in 12 boys.
BodyFatHeatLossBodyFatHeatLoss
A data frame with 12 observations on the following 2 variables.
a numeric vector
a numeric vector
Sloan, R.E.G. and W.R. Keatinge. 1973. Cooling rates of young people swimming in cold water. Journal of Applied Physiology 35: 371-375.
http://www.ncbi.nlm.nih.gov/pubmed/4732330
xyplot(lossrate ~ leanness, BodyFatHeatLoss)xyplot(lossrate ~ leanness, BodyFatHeatLoss)
Expression levels of the proteolipid protein 1 gene (PLP1;
PLP1.expression) in 45 individuals in one of three groups.
BrainExpressionBrainExpression
A data frame with 45 observations on the following 2 variables.
a factor with levels: bipolar,
control, and schizo
a numeric vector
inferred from Tkachev, D., M.L. Mimmack, M.M. Ryan, M. Wayland, T. Freeman, P.B. Jones, M. Starkey, M.J. Webster, R.H. Yolken, S. Bahn. 2003. Oligodendrocyte dysfunction in schizophrenia and bipolar disorder. Lancet 362(9386): 798-805.
bwplot(PLP1.expression ~ group, BrainExpression)bwplot(PLP1.expression ~ group, BrainExpression)
Total numbers of salmon released (salmon.released) and surviving
(salmon.surviving) in 12 streams, 6 with brook trout present
and 6 with brook trout absent. The proportion of salmon surviving
(proportion.surviving) is given for each stream.
BrookTroutBrookTrout
BrookTrout is a data frame with 12 observations on the
following 4 variables. BrookTrout2 is a different summary of the
same study and gives survival rates for chinook in different years.
a factor with levels absent and
present indicating whether brook trout are absent or present in the
stream
a numeric vector of the total number of salmon released
a numeric vector of the number of salmon surviving
a numeric vector of the proportion of salmon surviving
Levin, P.S., S. Achord, B.E. Fiest, and R.W. Zabel. 2002. Non-indigenous brook trout and the demise of Pacific salmon: a forgotten threat? Proceedings of the Royal Society of London, Series B, Biological Sciences 269: 1663-1670.
str(BrookTrout) str(BrookTrout2) bwplot(proportion.surviving ~ trout, BrookTrout) aggregate(proportion.surviving ~ trout, BrookTrout, FUN = favstats) summary(proportion.surviving ~ trout, BrookTrout, fun = favstats)str(BrookTrout) str(BrookTrout2) bwplot(proportion.surviving ~ trout, BrookTrout) aggregate(proportion.surviving ~ trout, BrookTrout, FUN = favstats) summary(proportion.surviving ~ trout, BrookTrout, fun = favstats)
Numbers of deaths resulting from horse kicks per regiment-years for the Prussian army.
CavalryCavalry
A data frame with 5 observations on the following 2 variables.
a numeric vector
a numeric vector
Bortkiewicz, L. 1898. Das Gesetz der Kleinen Zahlen (Teubner, Leipzig), as cited in Larson, R.J. and M.L. Marx. 1981. An Introduction to Mathematical Statistics and its Applications. Prentice-Hall: Englewood Cliffs, NJ.
Cavalry xyplot(count ~ deaths, Cavalry, type='h', lwd=4) barchart(count ~ deaths, Cavalry, horizontal = FALSE, box.ratio = 1000, origin=0)Cavalry xyplot(count ~ deaths, Cavalry, type='h', lwd=4) barchart(count ~ deaths, Cavalry, horizontal = FALSE, box.ratio = 1000, origin=0)
Number of "dee" notes per call in Black-capped Chickadees (Poecile atricapilla) for 13 predator species with differing body masses.
ChickadeesChickadees
A data frame with 13 observations on the following 3 variables.
a character vector
a numeric vector
a numeric vector
Templeton, C.N., E. Greene, and K. Davis. 2005. Allometry of alarm calls: Black-capped Chickadees encode information about predator size. Science 308: 1934-1937.
http://www.sciencemag.org/cgi/content/short/308/5730/1934
str(Chickadees) Chickadees xyplot(dees ~ mass, data = Chickadees, xlab = "Predator body mass (kg)", ylab = "'Dees' per call", type=c('p','r') )str(Chickadees) Chickadees xyplot(dees ~ mass, data = Chickadees, xlab = "Predator body mass (kg)", ylab = "'Dees' per call", type=c('p','r') )
Asymmetry of Brodmann's area 44 in 20 chimpanzees.
ChimpBrainsChimpBrains
A data frame with 20 observations on the following 3 variables.
name of chimp
a factor
with levels F and M
asymmetry score
Cantalupo, C. and W.D. Hopkins. 2001. Asymmetric Broca's area in great apes. Nature 414: 505.
xyplot(asymmetry ~ sex, ChimpBrains) aggregate(asymmetry ~ sex, ChimpBrains, FUN = favstats) summary(asymmetry ~ sex, ChimpBrains, fun = favstats)xyplot(asymmetry ~ sex, ChimpBrains) aggregate(asymmetry ~ sex, ChimpBrains, FUN = favstats) summary(asymmetry ~ sex, ChimpBrains, fun = favstats)
Preference index in F1 and F2 crosses of two species of cichlids from Lake Victoria, Pundamilia pundamilia and P. nyererei.
CichlidsCichlids
A data frame with 53 observations on the following 2 variables.
a factor with levels F1 and
F2
a numeric vector
Haeslery, M.P. and O. Seehausen. 2005. Inheritance of female mating preference in a sympatric sibling species pair of Lake Victoria cichlids: implications for speciation. Proceedings of the Royal Society of London, Series B, Biological Sciences 272: 237-245.
http://rspb.royalsocietypublishing.org/content/272/1560/237.full.pdf
str(Cichlids) summary(preference ~ genotype, Cichlids, fun = favstats) if (require(plyr)) { ddply(Cichlids, .(genotype), function(df)c(mean = mean(df$preference), standard.deviation = sd(df$preference), n = length(df$preference))) }str(Cichlids) summary(preference ~ genotype, Cichlids, fun = favstats) if (require(plyr)) { ddply(Cichlids, .(genotype), function(df)c(mean = mean(df$preference), standard.deviation = sd(df$preference), n = length(df$preference))) }
Levels of mRNA for gonadotropin-releasing hormone in cichlids (Haplochromis burtoni) that are (n = 5) and are not (n = 6) territorial.
CichlidsGnRHCichlidsGnRH
A data frame with 11 observations on the following 2 variables.
a factor with levels No and
Yes
a numeric vector
White, S.A., T. Nguyen, and R.D. Fernald. 2002. Social regulation of gonadotropin-releasing hormone. Journal of Experimental Biology 205: 2567-2581.
http://jeb.biologists.org/cgi/content/abstract/205/17/2567
xyplot(GnRH.mRNA ~ territorial, CichlidsGnRH, type=c('p','a'))xyplot(GnRH.mRNA ~ territorial, CichlidsGnRH, type=c('p','a'))
Biomass change in 36 Amazonian rainforests following clearcuts ranging from 50 m to several kilometers.
ClearcutsClearcuts
A data frame with 36 observations of one variable.
Laurance, W.F., S.G. Laurance, L.V. Ferreira, J.M. Rankin-de Merona, C. Gascon, T.E. Lovejoy. 1997. Biomass collapse in Amazonian forest fragments. Science 278: 1117-1118.
http://www.sciencemag.org/cgi/content/abstract/278/5340/1117
str(Clearcuts) histogram(~biomass.change, Clearcuts)str(Clearcuts) histogram(~biomass.change, Clearcuts)
Percent of dopamine receptors blocked (percent.bocked) and the
perceived level of high as determined by PET scans (high) in 34
humans.
CocaineDopamineCocaineDopamine
A data frame with 34 observations on the following 2 variables.
a numeric vector
a numeric vector
Volkow, N.D., G.-J. Wang, R.W. Foltin, J.S. Fowler, N.N. Abumrad, S. Vitkun, J. Logan, S.J. Gatley, N. Pappas, R. Hitzemann, and C.E. Shea. 1997. Relationship between subjective effects of cocaine and dopamine transporter occupancy. Nature 386: 827-830.
http://www.nature.com/nature/journal/v386/n6627/abs/386827a0.html
str(CocaineDopamine) xyplot(high ~ percent.blocked, CocaineDopamine)str(CocaineDopamine) xyplot(high ~ percent.blocked, CocaineDopamine)
This theme will help produce plots with color scheme similar to the one used in Analysis of Biological Data
col.abd(bw = FALSE, lty = 1:7) theme.abd(bw = FALSE, lty = 1:7)col.abd(bw = FALSE, lty = 1:7) theme.abd(bw = FALSE, lty = 1:7)
bw |
a logical. Use a grayscale theme instead of color? |
lty |
line types used for |
theme.abd and col.abd are the same function with
two names.
a list that can be used as a lattice theme.
Randall Pruim ([email protected])
trellis.par.set(theme=col.abd(bw=TRUE)) show.settings() trellis.par.set(theme=theme.abd(lty=1)) show.settings()trellis.par.set(theme=col.abd(bw=TRUE)) show.settings() trellis.par.set(theme=theme.abd(lty=1)) show.settings()
Data on frequency of convictions for a cohort of 395 boys.
ConvictionsConvictions
A data frame with 15 observations on the following 2 variables.
number of convictions
number of boys with given number of convictions
Farrington, D.P. 1994. Cambridge Study in Delinquent Development [Great Britain], 1961-1981. 2nd ICPSR ed. Inter-university Consortium for Political and Social Research, Ann Arbor, MI.
http://www.icpsr.umich.edu/icpsrweb/NACJD/archive.jsp
str(Convictions) barchart(boys ~ as.factor(convictions), Convictions, horizontal = FALSE, origin=0) xyplot( boys ~ convictions, Convictions, type = "h", lwd = 20)str(Convictions) barchart(boys ~ as.factor(convictions), Convictions, horizontal = FALSE, origin=0) xyplot( boys ~ convictions, Convictions, type = "h", lwd = 20)
Data reporting the number of individual with and without convictions per income level.
ConvictionsAndIncomeConvictionsAndIncome
A data frame with 395 observations on the following 2 variables.
a factor with levels no and
yes
a factor with levels adequate,
comfortable, and inadequate
Farrington, D.P. 1994. Cambridge Study in Delinquent Development [Great Britain], 1961-1981. 2nd ICPSR ed. Inter-university Consortium for Political and Social Research, Ann Arbor, MI.
http://www.icpsr.umich.edu/icpsrweb/NACJD/archive.jsp
str(ConvictionsAndIncome) ConvictionsAndIncome xtabs(~ convicted + income, data = ConvictionsAndIncome)str(ConvictionsAndIncome) ConvictionsAndIncome xtabs(~ convicted + income, data = ConvictionsAndIncome)
Sperm viability and immune function, measured by lysozyme activity in crickets. Each observation is a mean for a single family of males.
CricketsCrickets
A data frame with 41 observations on the following 2 variables.
a numeric vector
a numeric vector
Simmons, L.W. and B. Roberts. 2005. Bacterial immunity traded for sperm viability in male crickets. Science 309: 2031.
Crickets xyplot(lysozyme ~ sperm.viability, Crickets)Crickets xyplot(lysozyme ~ sperm.viability, Crickets)
Number of spores and host longevity in the crustacean Daphnia magna.
DaphniaLongevityDaphniaLongevity
A data frame with 32 observations on the following 2 variables.
a numeric vector
a numeric vector
Jensen, K.H., T.J. Little, A. Skorping, and D. Ebert. 2006. Empirical support for optimal virulence in a castrating parasite. PLoS Biology 4(7): e197
http://www.plosbiology.org/article/info:doi/10.1371/journal.pbio.0040197
str(DaphniaLongevity) xyplot(sqrt.spores ~ longevity, DaphniaLongevity)str(DaphniaLongevity) xyplot(sqrt.spores ~ longevity, DaphniaLongevity)
Resistance of Daphnia eggs to different levels of cyanobacteria
(cyandensity) from 1962-1997.
DaphniaResistanceDaphniaResistance
A data frame with 32 observations on the following 2 variables.
a factor with levels: high,
low, and med
a numeric vector
inferred from Hairston, N.G., Jr., W. Lampert, C.E. Cáceres, C.L. Holtmeier, L.J. Weider, U. Gaedke, J.M. Fischer, J.A. Fox, and D.M. Post. 1999. Dormant eggs record rapid evolution. Nature 401: 446.
str(DaphniaResistance) bwplot(resistance ~ density, DaphniaResistance) # with such a small data set, we can display all the data # rather than a summary xyplot(resistance ~ density, DaphniaResistance) histogram(~ resistance| density, DaphniaResistance, strip=FALSE, strip.left = TRUE, layout=c(1,3) )str(DaphniaResistance) bwplot(resistance ~ density, DaphniaResistance) # with such a small data set, we can display all the data # rather than a summary xyplot(resistance ~ density, DaphniaResistance) histogram(~ resistance| density, DaphniaResistance, strip=FALSE, strip.left = TRUE, layout=c(1,3) )
abd Data SetsInformation about the location of data sets in Analysis of Biological Data
dataInfodataInfo
A data frame with 143 observations on the following 5 variables.
name of data set
chapter in which data set appears
used in an Example or a Problem
example or problem number
sub-problem: a b c
str(dataInfo)str(dataInfo)
Day of the week for 350 U.S. births in 1999.
DayOfBirthDayOfBirth
A data frame with 7 observations on the following 2 variables.
a character vector
a numeric vector
Ventura, S.J., J.A. Martin, S.C. Curtin, F. Menacker, and B.E. Hamilton. 2001. Births: final data for 1999. National Vital Statistics Reports Vol. 49, No. 1.
http://cdc.gov/NCHS/products/nvsr.htm
DayOfBirth barchart( day ~ births, DayOfBirth, origin=0) # Fix bad ordering of days DayOfBirth$oday <- with(DayOfBirth, ordered(day, levels = day)) barchart( oday ~ births, DayOfBirth, origin=0) barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0) barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0, scales = list(x=list(rot=45))) barplot(DayOfBirth$births, ylim = c(0, 70), names.arg = DayOfBirth$day, las = 2, mgp = c(3, 0.75, 0))DayOfBirth barchart( day ~ births, DayOfBirth, origin=0) # Fix bad ordering of days DayOfBirth$oday <- with(DayOfBirth, ordered(day, levels = day)) barchart( oday ~ births, DayOfBirth, origin=0) barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0) barchart( births ~ oday, DayOfBirth, horizontal = FALSE, origin=0, scales = list(x=list(rot=45))) barplot(DayOfBirth$births, ylim = c(0, 70), names.arg = DayOfBirth$day, las = 2, mgp = c(3, 0.75, 0))
Administered dose of DEET and number of mosquito bites for 52 women.
DEETDEET
A data frame with 52 observations on the following 2 variables.
a numeric vector
a numeric vector
Golenda, C.F., V.B. Solberg, R. Burge, J.M. Gambel, and R.A. Wirtz. 1999. Gender-related efficacy difference to an extended duration formulation of topical N,N-diethyl-m-toluamide (DEET). American Journal of Tropical Medicine and Hygiene 60: 654-657.
str(DEET) xyplot(bites ~ dose, DEET)str(DEET) xyplot(bites ~ dose, DEET)
Census data for desert birds.
DesertBirdsDesertBirds
A data frame with 43 observations on the following 2 variables.
a character vector
a numeric vector
Sauer, J.R., J.E. Hines, and J. Fallon. 2003. The North American breeding bird survey, results and analysis 1966-2002. Version 2003.1. USGS Patuxent Wildlife Research Center, Laurel, MD.
http://www.mbr-pwrc.usgs.gov/bbs/
str(DesertBirds) histogram(~ count, DesertBirds, xlab = "Abundance" )str(DesertBirds) histogram(~ count, DesertBirds, xlab = "Abundance" )
Number of dioecious and monomorphic taxa among pairs of
closely related plants.
DioecyDioecy
A data frame with 28 observations on the following 3 variables.
a numeric vector
a numeric vector
identifier for pair
Heilbuth, J.C. 2000. Lower species richness in dioecious clades. The American Naturalist 156: 221-241.
xyplot(dioecious ~ monomorphic, Dioecy, alpha = 0.65, pch = 16)xyplot(dioecious ~ monomorphic, Dioecy, alpha = 0.65, pch = 16)
Percentage of time 8 sleeping dolphins from the Southern Hemisphere spent swimming clockwise.
DolphinsDolphins
A data frame with 8 observations on one variable.
percent of time spent swimming clockwise while sleeping.
Stafne, G.M. and P.R. Manger. 2004. Predominance of clockwise swimming during rest in Southern Hemisphere dolphins. Physiology and Behavior 82: 919-926.
http://faculty.washington.edu/chudler/dolp.html
Dolphins hist(Dolphins$percent.clockwise) histogram(~ percent.clockwise, Dolphins)Dolphins hist(Dolphins$percent.clockwise) histogram(~ percent.clockwise, Dolphins)
Body condition (offspring.condition) in 36 dung beetles
(Onthophagus taurus) from 12 males each mated to 3 different
virgin females.
DungBeetlesDungBeetles
A data frame with 36 observations on the following 2 variables.
a numeric vector
a numeric vector
inferred from Kotiaho, J.S., L.W. Simmons, and J.L. Tomkins. 2001. Towards a resolution of the lek paradox. Nature 410: 684-686.
http://en.wikipedia.org/wiki/Dung_beetle
http://www.nature.com/nature/journal/v410/n6829/abs/410684a0.html
str(DungBeetles) xyplot(offspring.condition ~ factor(id), DungBeetles, xlab='Dung Beetle', ylab='offspring condition')str(DungBeetles) xyplot(offspring.condition ~ factor(id), DungBeetles, xlab='Dung Beetle', ylab='offspring condition')
Number of earthworm species and total nitrogen content in the soil in 39 hardwood forest plots.
EarthwormsEarthworms
A data frame with 39 observations on the following 2 variables.
a numeric vector
a numeric vector
Gundale, M.J., W.M. Jolly, and T.H. Deluca. 2005. Susceptibility of a northern hardwood forest to exotic earthworm invasion. Conservation Biology 19: 1075-1083.
http://www3.interscience.wiley.com/journal/118701215/abstract
str(Earthworms) xyplot(nitrogen ~ worm.species, Earthworms)str(Earthworms) xyplot(nitrogen ~ worm.species, Earthworms)
Earwig (Forficula auricularia) density and the proportion of trapped earwigs with abdominal forceps (used for fighting and courtship).
EarwigsEarwigs
A data frame with 7 observations on the following 2 variables.
a numeric vector
a numeric vector
Tomkins, J.L. and G.S. Brown. 2004. Population density drives the local evolution of a threshold dimorphism. Nature 431: 1099-1103.
http://en.wikipedia.org/wiki/Forficula_auricularia
http://www.arkive.org/common-european-earwig/forficula-auricularia/
xyplot(proportion.forceps ~ density, data=Earwigs, type='h', lwd=6)xyplot(proportion.forceps ~ density, data=Earwigs, type='h', lwd=6)
Number of shoots (shoots) surviving in each of 32 experimental plots
planted with 1, 3, or 6 different genotypes of eelgrass
(treatment.genotypes).
EelgrassEelgrass
A data frame with 32 observations on the following 2 variables.
a numeric vector of the number of genotypes planted in each plot
a numeric vector of the total number of shoots in each plot
inferred from Reusch, T.B.H., A. Ehlers, A. Hämmerli, and B. Worm. 2005. Ecosystem recovery after climatic extremes enhanced by genotypic diversity. Proceedings of the National Academy of Sciences (USA) 102: 2826-2831.
http://www.pnas.org/content/102/8/2826.abstract
Eelgrass # Convert treatment.genotypes to a factor Eelgrass$genotypesF <- factor(Eelgrass$genotypes) str(Eelgrass) xyplot(shoots ~ genotypes, Eelgrass) xyplot(shoots ~ genotypesF, Eelgrass)Eelgrass # Convert treatment.genotypes to a factor Eelgrass$genotypesF <- factor(Eelgrass$genotypes) str(Eelgrass) xyplot(shoots ~ genotypes, Eelgrass) xyplot(shoots ~ genotypesF, Eelgrass)
Species abundance of electric fish upstream and downstream of the entrance of a tributary in the Amazon basin.
ElectricFishElectricFish
A data frame with 12 observations on the following 3 variables.
a character vector
a numeric vector of the number of species of electric fish present upstream of the tributary
a numeric vector of the number of species of electric fish present downstream of the tributary
Fernandes, C.C., J. Podos, and J.G. Lundberg. 2004. Amazonian ecology: tributaries enhance the diversity of electric fishes. Science 305: 1960-1962.
http://www.sciencemag.org/cgi/content/abstract/305/5692/1960
ElectricFish require(grid) xyplot(species.upstream ~ species.downstream, data = ElectricFish, panel=function(x, y, ...){ grid.text(ElectricFish$tributary, x=x, y=y, rot = 45, gp = gpar(cex=.6), default.units = 'native') } )ElectricFish require(grid) xyplot(species.upstream ~ species.downstream, data = ElectricFish, panel=function(x, y, ...){ grid.text(ElectricFish$tributary, x=x, y=y, rot = 45, gp = gpar(cex=.6), default.units = 'native') } )
Number of different species (breadth) in 127 species
(no.species) in the rainforest community at El Verde, Puerto Rico
ElVerdeElVerde
A data frame with 38 observations on the following 2 variables.
a numeric vector
a numeric vector
Waide R.B. and W.B. Reagan, eds. 1996. The Food Web of a Tropical Rainforest. University of Chicago Press, Chicago.
ElVerde xyplot(num.species ~ breadth, ElVerde, type='h',lwd=3)ElVerde xyplot(num.species ~ breadth, ElVerde, type='h',lwd=3)
Frequency of taxon groups on the U.S. Fish and Wildlife Service list of endangered and threatened species (2002).
EndangeredSpeciesEndangeredSpecies
A data frame with 11 observations on the following 2 variables.
a character vector
a numeric vector
U.S. Fish and Wildlife Service. 2001. Number of U.S. listed species per calendar year.
http://www.fws.gov/endangered/
str(EndangeredSpecies) EndangeredSpeciesstr(EndangeredSpecies) EndangeredSpecies
The ratio of the lengths of the index finger to the ring finger in 46 males and the number of CAG repeats for each.
FingerRatioFingerRatio
A data frame with 46 observations on the following 2 variables.
a numeric vector of the number of CAG repeats
a numeric vector of the ratio of digit 2 to digit 4
inferred from Manning, J.T., P.E. Bundred, D.J. Newton, and B.F. Flanagan. 2003. The second to fourth digit ratio and variation in the androgen receptor gene. Evolution and Human Behavior 24: 399-405.
http://en.wikipedia.org/wiki/Digit_ratio
str(FingerRatio) xyplot(finger.ratio ~ CAGrepeats, FingerRatio, xlab = "Number of CAG Repeats", ylab = "2D:4D Ratio" )str(FingerRatio) xyplot(finger.ratio ~ CAGrepeats, FingerRatio, xlab = "Number of CAG Repeats", ylab = "2D:4D Ratio" )
Measurements of spermatophore mass (milligrams) in 35 fireflies (Photinus ignitus).
FirefliesFireflies
A data frame with 35 observations of one variable.
inferred from Cratsley, C.K. and S.M. Lewis. 2003. Female preference for male courtship flashes in Photinus ignitus fireflies. Behavioral Ecology 14: 135-140.
http://beheco.oxfordjournals.org/cgi/content/abstract/14/1/135
http://en.wikipedia.org/wiki/Firefly
str(Fireflies) histogram(~ sp.mass, Fireflies, n = 12)str(Fireflies) histogram(~ sp.mass, Fireflies, n = 12)
Flash duration (measured in milliseconds) of a sample of male fireflies (Photinus ignitus; n = 35).
FireflyFlashFireflyFlash
A data frame with 35 observations of one variable.
duration of flash (milliseconds)
inferred from Cratsley, C.K. and S.M. Lewis. 2003. Female preference for male courtship flashes in Photinus ignitus fireflies. Behavioral Ecology 14: 135-140.
str(FireflyFlash) histogram(~flash, FireflyFlash)str(FireflyFlash) histogram(~flash, FireflyFlash)
Forehead patch size in 30 male Collared Flycatachers measured in two consecutive years.
FlycatcherPatchFlycatcherPatch
A data frame with 30 observations on the following 2 variables.
a numeric vector
a numeric vector
Griffith, S.C. and B.C. Sheldon. 2001. Phenotypic plasticity in the expression of a sexually selected trait: neglected components of variation. Animal Behaviour 61: 987-993.
str(FlycatcherPatch) xyplot(patch99 ~ patch98, FlycatcherPatch)str(FlycatcherPatch) xyplot(patch99 ~ patch98, FlycatcherPatch)
Testes size (square mm; Testes.area) in 8 populations of common
yellow dung flies (Scathophaga stercoraria) with different mating
systems (Mating.system).
FlyTestesFlyTestes
A data frame with 8 observations on the following 2 variables.
a factor with levels Monogamous
Polyandrous
a numeric vector
Hosken, D.J. and P.I. Ward. 2001. Experimental evidence for testis size evolution via sperm competition. Ecology Letters 4: 10-13.
http://en.wikipedia.org/wiki/Scathophaga_stercoraria
str(FlyTestes) FlyTestesstr(FlyTestes) FlyTestes
Number of genes regulated by 109 regulatory genes of Saccharomyces cerevisiae.
GeneRegulationGeneRegulation
A data frame with 26 observations on the following 2 variables.
a numeric vector
a numeric vector
Guelzim, N., S. Bottani, P. Bourgine and F. Képès. 2002. Topological and causal structure of the yeast transcriptional regulatory network. Nature Genetics 31: 60-63.
str(GeneRegulation) xyplot(count ~ genes.regulated, GeneRegulation, type='h', lwd=3)str(GeneRegulation) xyplot(count ~ genes.regulated, GeneRegulation, type='h', lwd=3)
Undulation rate (Hz) of 8 paradise tree snakes (Chrysopelea paradisi).
GlidingSnakesGlidingSnakes
A data frame with eight observations of one variable.
undulation rate
Socha, J.J. 2002. Gliding flight in the paradise tree snake. Nature 418: 603-604.
http://www.nature.com/nature/journal/v418/n6898/abs/418603a.html
histogram(~undulation.rate , data=GlidingSnakes, n=7, xlab = "Undulation rate (Hz)", type='count')histogram(~undulation.rate , data=GlidingSnakes, n=7, xlab = "Undulation rate (Hz)", type='count')
Arrival dates for males and females in 10 pairs of Black-tailed Godwits (Limosa limosa)
GodwitArrivalGodwitArrival
A data frame with 10 observations on the following 2 variables.
a numeric vector
a numeric vector
Gunnarsson, T.G., J.A. Gill, T. Sigurbjörnsson, and W.J. Sutherland. 2004. Pair bonds: arrival synchrony in migratory birds. Nature 431: 646.
http://en.wikipedia.org/wiki/Black-tailed_godwit
xyplot(male~female, GodwitArrival, main='Arrival of Godwit pairs')xyplot(male~female, GodwitArrival, main='Arrival of Godwit pairs')
Species diversity in 10 experimental plots in the Park Grass Experiment at Rothamsted Experimental Station to which varying numbers of nutrients have been added.
GrasslandGrassland
A data frame with 10 observations on the following 2 variables.
a numeric vector
a numeric vector
Harpole, W. S. and D. Tilman. 2007. Grassland species loss due to reduced niche dimension. Nature 446: 791-793.
xyplot(num.species ~ jitter(nutrients, amount=0.1), Grassland, pch=16)xyplot(num.species ~ jitter(nutrients, amount=0.1), Grassland, pch=16)
Two-by-two contingency table of malaria (Plasmodium) infection status in control and egg-removal populations of Great Tit (Parus major).
GreatTitMalariaGreatTitMalaria
A data frame with 65 observations on the following 2 variables.
a factor with levels Control and
Egg removal
a ordered factor with levels
No Malaria and Malaria
Oppliger, A., P. Christe, and H. Richner. 1996. Clutch size and malaria resistance. Nature 381: 565.
http://www.nature.com/nature/journal/v381/n6583/abs/381565a0.html
str(GreatTitMalaria) table(GreatTitMalaria) if(require(vcd)) { mosaic(~treatment + response, GreatTitMalaria) }str(GreatTitMalaria) table(GreatTitMalaria) if(require(vcd)) { mosaic(~treatment + response, GreatTitMalaria) }
Measures of biodiversity in 15 urban green spaces in Sheffield, England.
GreenspaceGreenspace
A data frame with 15 observations on the following 6 variables.
a factor with levels A - O
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
Fuller, R.A., K.N. Irvine, P. Devine-Wright, P.H. Warren, and K.J. Gaston. 2007. Psychological benefits of greenspace increase with biodiversity. Biology Letters 3: 390-394.
http://rsbl.royalsocietypublishing.org/content/3/4/390.abstract
str(Greenspace) splom(Greenspace[,2:6])str(Greenspace) splom(Greenspace[,2:6])
The father's ornamentation (composite score of color and brightness) and son's attractiveness (relative rates of visits by females) in male guppies (Poecilia reticulata).
GuppiesGuppies
A data frame with 36 observations on the following 2 variables.
a numeric vector
a numeric vector
inferred from Brooks, R. 2000. Negative genetic correlation between male sexual attractiveness and survival. Nature 406: 67-70.
http://www.nature.com/nature/journal/v406/n6791/abs/406067a0.html
str(Guppies) xyplot(son.attract ~ father.ornament, Guppies, xlab = "Father's ornamentation", ylab = "Son's attractiveness" )str(Guppies) xyplot(son.attract ~ father.ornament, Guppies, xlab = "Father's ornamentation", ylab = "Son's attractiveness" )
Relative rates of hemoglobin concentration in four populations of humans living at different altitudes.
HemoglobinHemoglobin
A data frame with 40 observations on the following 3 variables.
a numeric vector
a factor with levels: Andes, Ethiopia,
Tibet, and USA
a numeric vector
inferred from Beall, C.M., M.J. Decker, G.M. Bittenham, I. Kushner, A. Gebremedhin, K.P. Strohl. 2002. An Ethiopian pattern of human adaptation to high-altitude hypoxia. Proceeding of the National Academy of Sciences (USA) 99(26): 17215-17218.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC139295/
str(Hemoglobin) xyplot(relative.frequency ~ hemoglobin | group, Hemoglobin, type ='h', lwd=4, layout=c(1,4))str(Hemoglobin) xyplot(relative.frequency ~ hemoglobin | group, Hemoglobin, type ='h', lwd=4, layout=c(1,4))
Spatial memory score (memory) and percent lesion of the hippocampus
(lesion).
HippocampusLesionsHippocampusLesions
A data frame with 57 observations on the following 2 variables.
a numeric vector
a numeric vector
Broadbent, N.J., L.R. Squire, and R.E. Clark. 2004. Spatial memory, recognition memory, and the hippocampus. Proceedings of the National Academy of Sciences (USA) 101: 14515-14520.
HippocampusLesions xyplot(memory ~ lesion, data = HippocampusLesions, pch = 16, col = "red") plot(memory ~ lesion, data = HippocampusLesions, pch = 16, col = "red")HippocampusLesions xyplot(memory ~ lesion, data = HippocampusLesions, pch = 16, col = "red") plot(memory ~ lesion, data = HippocampusLesions, pch = 16, col = "red")
Uses lattice::barchart() to build a histogram from tabulated data.
histochart( x, data = NULL, box.ratio = 100, origin = 0, horizontal = FALSE, ... )histochart( x, data = NULL, box.ratio = 100, origin = 0, horizontal = FALSE, ... )
x |
formula of form |
data |
data frame in which the formula |
box.ratio |
ratio of bar widths to gaps between bars |
origin |
where do bars begin? |
horizontal |
Should bars go horizontal? |
... |
other arguments passed to lattice::barchart() |
This is just a convenience wrapper around lattice::barchart().
Randall Pruim ([email protected])
histochart( dbinom(0:30, 30, 0.35) ~ 0:30 )histochart( dbinom(0:30, 30, 0.35) ~ 0:30 )
Squamosal horn length (mm; horn.length) and predation status
(group; living or killed) for 184 horned lizards (Phrynosoma
mcalli).
HornedLizardsHornedLizards
A data frame with 184 observations on the following 2 variables.
a numeric vector
a numeric vector
Young, K.V., E.D. Brodie, Jr., and E.D. Brodie, III. 2004. How the horned lizard got its horns. Science 304: 65.
http://www.sciencemag.org/cgi/pdf_extract/304/5667/65
str(HornedLizards) histogram(~horn.length | group, HornedLizards, layout=c(1,2), xlab="Horn Length (mm)")str(HornedLizards) histogram(~horn.length | group, HornedLizards, layout=c(1,2), xlab="Horn Length (mm)")
Body temperature for 25 randomly chosen health people
HumanBodyTempHumanBodyTemp
A data frame with 25 observations of one variable.
body temperature (degrees F)
Shoemaker, A. L. 1996. What's normal? – Temperature, gender, and heart rate. Journal of Statistics Education 4(2).
http://www.amstat.org/publications/jse/v4n2/datasets.shoemaker.html
Mackowiak, P.A., Wasserman, S.S., and Levine, M.M. 1992. A critical appraisal of 98.6 degrees F, the upper limit of the normal body temperature, and other legacies of Carl Reinhold August Wunderlich. Journal of the American Medical Association 268: 1578-1580.
histogram(~temp, HumanBodyTemp) stem(HumanBodyTemp$temp, scale = 2) favstats(HumanBodyTemp$temp)histogram(~temp, HumanBodyTemp) stem(HumanBodyTemp$temp, scale = 2) favstats(HumanBodyTemp$temp)
Lengths in number of nucleotides (gene.length) for 20,290 human genes
HumanGeneLengthsHumanGeneLengths
A data frame with 20,290 observations on the following variable.
a numeric vector
Hubbard, T., D. Andrews, M. Caccamo, G. Cameron, Y. Chen, M. Clamp, L. Clarke, G. Coates, T. Cox, F. Cunningham, V. Curwen, T. Cutts, T. Down, R. Durbin, X. M. Fernandez-Suarez, J. Gilbert, M. Hammond, J. Herrero, H. Hotz, K. Howe, V. Iyer, K. Jekosch, A. Kahari, A. Kasprzyk, D. Keefe, S. Keenan, F. Kokocinsci, D. London, I. Longden, G. McVicker, C. Melsopp, P. Meidl, S. Potter, G. Proctor, M. Rae, D. Rios, M. Schuster, S. Searle, J. Severin, G. Slater, D. Smedley, J. Smith, W. Spooner, A. Stabenau, J. Stalker, R. Storey, S. Trevanion, A. Ureta-Vidal, J. Vogel, S. White, C. Woodwark, and E. Birne. 2005. Ensembl 2005. Nucleic Acids Research 33: D447-D453.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC540092/
str(HumanGeneLengths) histogram(~ gene.length, HumanGeneLengths, subset = gene.length < 15000)str(HumanGeneLengths) histogram(~ gene.length, HumanGeneLengths, subset = gene.length < 15000)
Number of hurricanes greater than or equal to category 3 on the Safir-Simpson scale during the 20th century.
HurricanesHurricanes
A data frame with 4 observations on the following 2 variables.
a numeric vector
a numeric vector
Blake, E.S., E.N. Rappaport, J.D. Jarrell, and C.W. Landsea. 2005. The deadliest, costliest, and most intense United States tropical cyclones from 1851 to 2006 (and other frequently requested hurricane facts). NOAA Technical Memorandum NWS TPC-4.
http://www.aoml.noaa.gov/hrd/Landsea/Blakeetal_noaamemoApr2007.pdf
HurricanesHurricanes
Body size change in 64 Galápagos marine iguanas (Amblyrhynchus cristatus) that survived the 1992-1993 El Niño event.
IguanasIguanas
A data frame with 64 observations of one variable.
Wikelski, M. and C. Thom. 2000. Marine iguanas shrink to survive El Niño. Nature 403: 37-38.
http://en.wikipedia.org/wiki/Marine_iguana
str(Iguanas) histogram(~ change.in.length, Iguanas, n = 10)str(Iguanas) histogram(~ change.in.length, Iguanas, n = 10)
Area coverage of red algae (Mazzaella parksii) in two herbivore
treatments (herbivores) at two tide levels (height).
IntertidalAlgaeIntertidalAlgae
A data frame with 64 observations on the following 3 variables.
a factor with levels low and
mid
a factor with levels minus and
plus
a numeric vector
Harley, C.D.G. 2003. Individualistic vertical responses of interacting species determine range limits across a horizontal gradient. Ecology 84: 1477-1488.
str(IntertidalAlgae) # Using * includes the main effects and the interaction aov.fit <- aov(sqrt.area ~ herbivores * height, data = IntertidalAlgae) summary(aov.fit) lm.fit <- lm(sqrt.area ~ herbivores * height, data = IntertidalAlgae) anova(lm.fit)str(IntertidalAlgae) # Using * includes the main effects and the interaction aov.fit <- aov(sqrt.area ~ herbivores * height, data = IntertidalAlgae) summary(aov.fit) lm.fit <- lm(sqrt.area ~ herbivores * height, data = IntertidalAlgae) anova(lm.fit)
Shift in circadian rhythm (hours; shift) in three light treatments
(treatment).
JetLagKneesJetLagKnees
A data frame with 22 observations on the following 2 variables.
a factor with levels control,
eyes, and knee
a numeric vector
inferred from Wright, K.P., Jr. and C.A. Czeisler 2002. Absence of circadian phase resetting in response to bright light behind the knees. Science 297: 571.
http://www.sciencemag.org/cgi/content/full/297/5581/571
demo(sec15.1)demo(sec15.1)
Data on body mass and beak length in three species of finches:
Crimson-rumped waxbill (CRU.WAXB), Cutthroat finch (CUTTHROA),
and White-browed sparrow weaver (WB.SPARW).
KenyaFinchesKenyaFinches
A data frame with 45 observations on the following 3 variables.
a factor with levels: CRU.WAXB,
CUTTHROA, and WB.SPARW
mass (g)
beak length (mm)
Schluter, D. 1988. The evolution of finch communities on islands and continents: Kenya vs. Galapagos. Ecological Monographs 58: 229-249.
table(KenyaFinches$species) xyplot(beak.length ~ species, KenyaFinches) bwplot(beak.length ~ species, KenyaFinches)table(KenyaFinches$species) xyplot(beak.length ~ species, KenyaFinches) bwplot(beak.length ~ species, KenyaFinches)
Proficiency score (summary of reading, writing, and speech) in subjects' second language and density of gray matter in the left inferior parietal region.
LanguageBrainsLanguageBrains
A data frame with 22 observations on the following 2 variables.
a numeric vector
a numeric vector
Mechelli, A., J.T. Crinion, U. Noppeney, J. O'Doherty, J. Ashburner, R.S. Frackowiak, and C.J. Price. 2004. Structural plasticity in the bilingual brain. Nature 431: 757.
str(LanguageBrains) xyplot(proficiency ~ greymatter, LanguageBrains)str(LanguageBrains) xyplot(proficiency ~ greymatter, LanguageBrains)
Age (age) and coefficient of variation (cv) in larval fish
from exploited and unexploited species (exploited).
LarvalFishLarvalFish
A data frame with 28 observations on the following 3 variables.
a numeric vector
a numeric vector
a factor with levels no and
yes
Hsieh, C.H., C.S. Reiss, J.R. Hunter, J.R. Beddington, R.M. May, and G. Sugihara. 2006. Fishing elevates variability in the abundance of exploited species. Nature 443: 859-862.
str(LarvalFish) xyplot(cv ~ age | exploited, LarvalFish) xyplot(cv ~ age, groups=exploited, LarvalFish)str(LarvalFish) xyplot(cv ~ age | exploited, LarvalFish) xyplot(cv ~ age, groups=exploited, LarvalFish)
Prevalence of left-handedness (percent.left) and homicide rates
(murder) for 8 societies.
LefthandedLefthanded
A data frame with 8 observations on the following 2 variables.
a numeric vector
a numeric vector
Faurie, C. and M. Raymond. 2005. Handedness, homicide and negative frequency-dependent selection. Proceedings of the Royal Society of London B 272: 25-28.
http://rspb.royalsocietypublishing.org/content/272/1558/25.abstract
str(Lefthanded) xyplot(murder.rate ~ percent.left, Lefthanded)str(Lefthanded) xyplot(murder.rate ~ percent.left, Lefthanded)
Time to reproduction (Days) based on whether death of previous cubs
was due to infanticide (New) or accidental (Same).
LionCubsLionCubs
A data frame with 14 observations on the following 2 variables.
a factor with accident and
infanticide
a numeric vector
Packer, C. and A.E. Pusey. 1983. Adaptations of female lions to infanticide by incoming males. The American Naturalist 121: 716-728.
xyplot(days.to.next.cub ~ cause.of.death, LionCubs)xyplot(days.to.next.cub ~ cause.of.death, LionCubs)
Ages (in years; age) of 32 male lions and relative coloration of
their noses (proportion.black).
LionNosesLionNoses
A data frame with 32 observations on the following 2 variables.
a numeric vector
a numeric vector
Whitman, K., A.M. Starfield, H.S. Quadling and C. Packer. 2004. Sustainable trophy hunting of African lions. Nature 428: 175-178.
http://www.nature.com/nature/journal/v428/n6979/abs/nature02395.html
xyplot(age ~ proportion.black, LionNoses)xyplot(age ~ proportion.black, LionNoses)
The unbound fraction of taurocholate for each of five concentrations of administered taurocholate.
LiverPreparationLiverPreparation
A data frame with 5 observations on the following 2 variables.
a numeric vector
a numeric vector
Smallwood, R.H., D.J. Morgan, G.W. Mihaly, and R.A. Smallwood. 1998. Effect of a protein binding change on unbound and total plasma concentrations for drugs of intermediate hepatic extraction. Journal of Pharmacokinetics and Pharmacodynamics 16:397-411.
http://www.ncbi.nlm.nih.gov/pubmed/3199317
str(LiverPreparation) xyplot(unbound.fraction ~ concentration, LiverPreparation)str(LiverPreparation) xyplot(unbound.fraction ~ concentration, LiverPreparation)
Bite force (N) and territory area in 11 male collared lizards (Crotaphytus collaris).
LizardBiteLizardBite
A data frame with 11 observations on the following 2 variables.
force of bite (N)
area of territory
In the original publication (Lappin and Husak,
2005; Figure 3A), the data are presented in log-10 units. The
data in LizardBite and in chapter 17, question 9 was
back-transformed using e (i.e., exp()). To recover the data
from the original publication, use 10^(log(LizardBite$territory))
and 10^(log(LizardBite$bite)).
Lappin, A. K., and J. F. Husak. 2005. Weapon performance, not size, determines mating success and potential reproductive output in the collared lizard (Crotaphytus collaris). The American Naturalist 166: 426-436.
str(LizardBite) xyplot(territory ~ bite, LizardBite)str(LizardBite) xyplot(territory ~ bite, LizardBite)
Sprint speeds (speed) in 34 canyon lizards
(Sceloporous merriami) measured in
successive years in Big Bend National Park. Note
that lizard is not coded as a factor.
LizardSprintLizardSprint
A data frame with 68 observations on the following 2 variables.
a numeric vector
a numeric vector
inferred from Huey, R.B. and A.E. Dunham. 1987. The repeatability of locomotor performance in natural populations of the lizard Sceloporus merriami. Evolution 42: 1116-1120.
http://en.wikipedia.org/wiki/Sceloporus_merriami
histogram(~ speed, LizardSprint) Lizard2 <- aggregate(speed ~ lizard, LizardSprint, mean) histogram(~ speed, Lizard2)histogram(~ speed, LizardSprint) Lizard2 <- aggregate(speed ~ lizard, LizardSprint, mean) histogram(~ speed, Lizard2)
Orientation of 15 lobsters relative to initial position.
LobstersLobsters
A data frame with 15 observations of one variable.
Boles, L.C. and K.J. Lohmann. 2003. True navigation and magnetic maps in spiny lobsters. Nature 421: 60-63.
http://www.unc.edu/depts/geomag/PDFGeomag/BolesandLohmann2003.pdf
histogram(~ orientation, Lobsters) dotplot(~ orientation, Lobsters)histogram(~ orientation, Lobsters) dotplot(~ orientation, Lobsters)
Masses of cones of lodgepole pines (conemass) from 16 different
habitat types (habitat) in western North America.
LodgepolePinesLodgepolePines
A data frame with 16 observations on the following 4 variables.
a factor with levels: island
absent, island present, and mainland present
mass of cone
island
or mainland
absent or
present
Edelaar, P. and C.W. Benkman. 2006. Replicated population divergence caused by localised coevolution? A test of three hypotheses in the Red Crossbill-lodgepole pine system. Journal of Evolutionary Biology 19: 1651-1659.
http://en.wikipedia.org/wiki/Lodgepole_pine
http://en.wikipedia.org/wiki/Red_crossbill
LodgepolePines str(LodgepolePines) xyplot(conemass ~ habitat, LodgepolePines)LodgepolePines str(LodgepolePines) xyplot(conemass ~ habitat, LodgepolePines)
Autoimmune reactivity (dilution at which reactivity could be
detected) in three treatments of lupus-prone mice.
LupusMiceLupusMice
A data frame with 20 observations on the following 2 variables.
a factor with levels: enhanced,
sham, and untreated
a numeric vector of the dilution level at which reactivity could be detected
McGaha, T.L., B. Sorrentino, and J.V. Ravetch. 2005. Restoration of tolerance in lupus by targeted inhibitory receptor expression. Science 307: 590-593.
str(LupusMice)str(LupusMice)
Number of lynx pelts (pelts) reported in Canada per year from 1752 to
1819.
LynxLynx
A data frame with 68 observations on the following 2 variables.
a numeric vector
a numeric vector
Elton, C. and M. Nicholson. 1942. The ten-year cycle in numbers of the lynx in Canada. Journal of Animal Ecology 11: 215-244.
xyplot(pelts ~ year, Lynx, type=c('p','l'))xyplot(pelts ~ year, Lynx, type=c('p','l'))
Relative biomass in 32 marine reserves.
MarineReserveMarineReserve
A data frame with 32 observations of one variable.
Halpern, B.S. 2003. The impact of marine reserves: do reserves work and does reserve size matter? Ecological Applications 13: S117-S137.
str(MarineReserve) histogram(~ biomass.ratio, MarineReserve)str(MarineReserve) histogram(~ biomass.ratio, MarineReserve)
The frequency of mass extinctions in the fossil record.
MassExtinctionsMassExtinctions
A data frame with 21 observations on the following 2 variables.
a numeric vector
a numeric vector
Raup, D.M. and J.J. Sepkoski, Jr. 1982. Mass extinctions in the marine fossil record. Science 215: 1501-1503.
http://www.sciencemag.org/cgi/content/abstract/sci;215/4539/1501
MassExtinctionsMassExtinctions
Energy expenditure (ln.energy) in two castes (caste) of
Damaraland mole rats (Cryptomys damarensis) with body mass
(ln.mass) as a covariate.
MoleRatsMoleRats
A data frame with 35 observations on the following 3 variables.
a factor with levels lazy and
worker
a numeric vector
a numeric vector
inferred from Scantlebury, M., J.R. Speakman, M.K. Oosthuizen, T.J. Roper and N.C. Bennett. 2006. Energetics reveals physiologically distinct castes in a eusocial mammal. Nature 440: 795-797.
http://www.nature.com/nature/journal/v440/n7085/abs/nature04578.html
MoleRatsMoleRats
Weights of female and male mosquitos (Anopheles darlingi)
MosquitoesMosquitoes
A data frame with 20 observations on the following 2 variables.
a numeric vector
a
factor with levels female and male
Lounibos, L.P., N. Nishimura, J. Conn, and R. Lourenco-de-Oliveira. 1995. Life history correlates of adult size in the malaria vector Anopheles darlingi. Memórias do Instituto Oswaldo Cruz 90: 769-774.
http://www.bioline.org.br/request?oc95154
xyplot(weight ~ sex, Mosquitoes)xyplot(weight ~ sex, Mosquitoes)
Percentage of time spent stretching in three treatments of mice. Both
condition and treatment code for the same variable.
MouseEmpathyMouseEmpathy
A data frame with 42 observations on the following 3 variables.
a factor with levels Both
Writhing, Isolated, and One Writhing
a numeric vector
a
factor with levels bw, isolated, and ow
Langford, D.J., S.E. Crager, Z. Shehzah, S.B. Smith, S.G. Sotocinal, J.S. Levenstadt, M.L. Chande, D.J. Levitin, J.S. Mogill. 2006. Social modulation of pain as evidence for empathy in mice. Science 312: 1967-1970.
str(MouseEmpathy) aov.fit <- aov(percent.stretching ~ treatment, data = MouseEmpathy) summary(aov.fit) lm.fit <- lm(percent.stretching ~ treatment, data = MouseEmpathy) anova(lm.fit)str(MouseEmpathy) aov.fit <- aov(percent.stretching ~ treatment, data = MouseEmpathy) summary(aov.fit) lm.fit <- lm(percent.stretching ~ treatment, data = MouseEmpathy) anova(lm.fit)
Brain size (lnbrain) and body mass (lnmass) in Neanderthals
and early modern humans (species).
NeanderthalBrainsNeanderthalBrains
A data frame with 39 observations on the following 3 variables.
log of body mass (kg)
log of brain size
a factor
with levels neanderthal recent
Ruff, C.B., E. Trinkaus, and T.W. Holliday. 1997. Body mass and encephalization in Pleistocene Homo. Nature 387: 173-176.
xyplot(ln.brain ~ ln.mass, data=NeanderthalBrains, groups=species)xyplot(ln.brain ~ ln.mass, data=NeanderthalBrains, groups=species)
lifespan of the nematode Caenorhabditis elegans in control and
three experimental treatments of the anticonvulsant drug
trimethadione.
NematodeLifespanNematodeLifespan
A data frame with 200 observations on the following 2 variables.
a factor with levels: adult,
larva, larva+adult, and water
a numeric vector of lifespan
inferred from Evason, K., C. Huang, I. Yamben, D.F. Covey, and K. Kornfeld. 2005. Anticonvulsant medications extend worm life-span. Science 307: 258-262.
http://www.sciencemag.org/cgi/content/abstract/307/5707/258
str(NematodeLifespan)str(NematodeLifespan)
Photosynthetic capacity (photosynthetic.capacity) and number of
fruits produced in the previous season (previous.fruits) of 9 females
of Ocotea tenera.
NeotropicalTreesNeotropicalTrees
A data frame with 9 observations on the following 2 variables.
a numeric vector
a numeric vector
inferred from Wheelwright, N.T. and B.A. Logan. 2004. Previous-year reproduction reduces photosynthetic capacity and slows lifetime growth in females of a neotropical tree. Proceedings of the National Academy of Sciences (USA) 101: 8051-8055.
http://www.pnas.org/content/101/21/8051.long
str(NeotropicalTrees) NeotropicalTreesstr(NeotropicalTrees) NeotropicalTrees
Percent reduction in crawl speed (resistance) in the garter snake
after injection of the neurotoxin tetrodotoxin from the rough-skinned newt
(Taricha granulosa).
NewtsNewts
A data frame with 12 observations on the following 2 variables.
a factor with levels: Benton and
Warrenton
a numeric vector
Geffeney, S., E.D. Brodie, Jr., P.C. Ruben, and E.D. Brodie III. 2002. Mechanisms of adaptation in a predator-prey arms race: TTX-resistant sodium channels. Science 297: 1336-1339.
http://www.sciencemag.org/cgi/content/abstract/297/5585/1336
NewtsNewts
Number ( transformed) of Atlantic cod (Gadus
morhua) that recruited (grew to catchable size) in the North Sea over a 39
years span.
NorthSeaCodNorthSeaCod
A data frame with 39 observations of one variable.
inferred from Beaugrand, G., K.M. Brander, J.A. Lindley, S. Souissi, and P.C. Reid. 2003. Plankton effect on cod recruitment in the North Sea. Nature 426: 661-664.
http://www.nature.com/nature/journal/v426/n6967/abs/nature02164.html
favstats(NorthSeaCod$log10.recruits)favstats(NorthSeaCod$log10.recruits)
Number of workplace injuries on No Smoking Day (Injuries.on.NSD)
compared to the same Wednesday in the previous year
(Injuries.before.NSD) for 1987-1996.
NoSmokingDayNoSmokingDay
A data frame with 10 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
Waters, A.J., M.J. Jarvis, and S.R. Sutton. 1998. Nicotine withdrawal and accident rates. Nature 394: 137.
http://www.nosmokingday.org.uk/
NoSmokingDayNoSmokingDay
Body and brain temperatures (C) in free-ranging
ostriches (Struthio camelus) at the the Lichtenburg Game Breeding
Centre, Lichtenburg, South Africa.
OstrichTempOstrichTemp
A data frame with 6 observations on the following 3 variables.
a numeric vector identifying ostrich number
a numeric vector of body temperature in
C
a numeric vector of
brain temperature in C
Fuller, A., P.R. Kamerman, S.K. Maloney, G. Mitchell, and D. Mitchell. 2003. Variability in brain and arterial blood temperatures in free-ranging ostriches in their natural habitat. Journal of Experimental Biology 206: 1171-1181.
http://jeb.biologists.org/cgi/content/abstract/206/7/1171
http://www.sa-venues.com/game-reserves/nwp_lichtenburg.htm
xyplot(brain.temp ~ body.temp, OstrichTemp)xyplot(brain.temp ~ body.temp, OstrichTemp)
Slope of regressions of mass-specific metabolic rate on heart rate for three groups of Macaroni Penguins.
PenguinsPenguins
A data frame with 24 observations on the following 2 variables.
a factor with levels BF, BM,
and MF
a numeric vector
Green, J. A., P. J. Butler, A. J. Woakes, I. L. Boyd and R. L. Holder. 2001. Heart rate and rate of oxygen consumption of exercising macaroni penguins. Journal of Experimental Biology 204: 673-684.
str(Penguins) dotplot(slope ~ group, Penguins)str(Penguins) dotplot(slope ~ group, Penguins)
Persistence times (generations) in the annual plant Cardamine
pensylvanica in four experimental populations (treatment).
PlantPersistencePlantPersistence
A data frame with 16 observations on the following 2 variables.
a numeric vector
a factor with levels: Isolated,
Medium, Long, and Continuous
Molofsky, J. and J.-B. Ferdy. 2005. Extinction dynamics in experimental metapopulations. Proceedings of the National Academy of Sciences (USA) 102: 3726-3731.
xyplot(generations~treatment, PlantPersistence)xyplot(generations~treatment, PlantPersistence)
Genetic distance between pairs of species of the genus Silene and proportion of their hybrid offspring that are sterile.
PollenPollen
A data frame with 23 observations on the following 2 variables.
a numeric vector
a numeric vector
Moyle, L.C., M.S. Olson, and P. Tiffin. 2004. Patterns of reproductive isolation in three angiosperm genera. Evolution 58: 1195-1208.
str(Pollen) xyplot(proportion.sterile ~ genetic.distance, Pollen)str(Pollen) xyplot(proportion.sterile ~ genetic.distance, Pollen)
The number of Powerball tickets sold per day of the week for three years.
PowerballPowerball
A data frame with 7 observations on the following 2 variables.
a character vector
a numeric vector
Oster, E. 2004. Dreaming big: Why do people play Powerball? Chance News 13.02.
http://www.dartmouth.edu/~chance/chance_news/recent_news/chance_news_13.02.html
Powerball xyplot(millions.of.tickets.sold ~ day, Powerball)Powerball xyplot(millions.of.tickets.sold ~ day, Powerball)
Body mass (g) and metabolic rate (watts) for 17 species of primates.
PrimateMetabolismPrimateMetabolism
A data frame with 17 observations on the following 2 variables.
mass (g)
metabolic rate (watts)
Heusner, A.A. 1991. Size and power in mammals. Journal of Experimental Biology 160: 25-54.
http://jeb.biologists.org/cgi/content/abstract/160/1/25
str(PrimateMetabolism) xyplot(bmr ~ mass, PrimateMetabolism) xyplot(bmr ~ mass, PrimateMetabolism, scales=list(log=TRUE))str(PrimateMetabolism) xyplot(bmr ~ mass, PrimateMetabolism) xyplot(bmr ~ mass, PrimateMetabolism, scales=list(log=TRUE))
White blood cell (WBC) counts in pairs of closely related primate species
PrimateWBCPrimateWBC
A data frame with 9 observations on the following 2 variables.
a numeric vector
a numeric vector
Nunn, C.L., J.L. Gittleman, and J. Antonovics. 2000. Promiscuity and the primate immune system. Science 290: 1168-1170.
xyplot(WBC.more ~ WBC.less, PrimateWBC)xyplot(WBC.more ~ WBC.less, PrimateWBC)
Progesterone levels and rates of ventilation during submaximal exercise in 30 women.
ProgesteroneExerciseProgesteroneExercise
A data frame with 30 observations on the following 2 variables.
a numeric vector
a numeric vector
Brutsaert, T.D., H. Spielvogel, E. Caceres, M. Araoz, R.T. Chatterton, V.J. Vitzthum. 2002. Effect of menstrual cycle phase on exercise performance of high-altitude native women at 3600 m. Journal of Experimental Biology 205: 233-239
http://jeb.biologists.org/cgi/content/abstract/205/2/233
str(ProgesteroneExercise) xyplot(ventilation ~ progesterone, ProgesteroneExercise)str(ProgesteroneExercise) xyplot(ventilation ~ progesterone, ProgesteroneExercise)
Successful numbers of broods (Number.of.successful.broods) in two
groups of female pseudoscrpions (Cordylochernes scorpioides), one
mated to the same male twice and one to two different males.
PseudoscorpionsPseudoscorpions
A data frame with 36 observations on the following 2 variables.
a factor with levels DM
SM
a numeric vector
Newcomer, S.D., J.A. Zeh, and D.W. Zeh. 1999. Genetic benefits enhance the reproductive success of polyandrous females. Proceedings of the National Academy of Sciences (USA) 96: 10236-10241.
http://www.pnas.org/content/96/18/10236.long
str(Pseudoscorpions) bwplot(successful.broods ~ treatment, Pseudoscorpions) aggregate(successful.broods ~ treatment, Pseudoscorpions, favstats)str(Pseudoscorpions) bwplot(successful.broods ~ treatment, Pseudoscorpions) aggregate(successful.broods ~ treatment, Pseudoscorpions, favstats)
Number of predators approaching models painted to resemble pufferfish
(Canthigaster valentini) across a range of similarities
(resemblance)
PufferfishPufferfish
A data frame with 20 observations on the following 2 variables.
a numeric vector
a numeric vector
Caley, M.J. and D. Schluter. 2003. Predators favour mimicry in a tropical reef fish. Proceedings of the Royal Society of London Series B, Biological Sciences 270: 667-672.
http://rspb.royalsocietypublishing.org/content/270/1516/667.full.pdf
http://en.wikipedia.org/wiki/Canthigaster_valentini
http://www.fishbase.org/Summary/SpeciesSummary.php?id=6544
str(Pufferfish) xyplot(predators ~ jitter(resemblance, amount = 0.1), Pufferfish) Pufferfishstr(Pufferfish) xyplot(predators ~ jitter(resemblance, amount = 0.1), Pufferfish) Pufferfish
Temperature change after a meal ( rattlesnakes (Crotalus durissus).
RattlesnakesRattlesnakes
A data frame with 17 observations on the following 2 variables.
a numeric vector
a numeric vector
Tattersall, G.J., W.K. Milsom, A.S. Abe, S.P. Brito, and D.V. Andrade. 2004. The thermogenesis of digestion in rattlesnakes. Journal of Experimental Biology 207: 579-585.
http://jeb.biologists.org/cgi/content/abstract/207/4/579
str(Rattlesnakes) xyplot(meal.size ~ temp.change, Rattlesnakes)str(Rattlesnakes) xyplot(meal.size ~ temp.change, Rattlesnakes)
Number of bodies reaching rigormortis in each hour after death.
RigormortisRigormortis
A data frame with 12 observations on the following 2 variables.
a numeric vector
a numeric vector
Pounder, D.J. 1995. Postmortem changes and time of death. University of Dundee.
xyplot(count ~ hours, Rigormortis, type='h', lwd=3) barchart(count ~ hours, Rigormortis, horizontal=FALSE, origin=0)xyplot(count ~ hours, Rigormortis, type='h', lwd=3) barchart(count ~ hours, Rigormortis, horizontal=FALSE, origin=0)
Perceived impressiveness (impressiveness) of a written account of the
Indian Rope Trick and the corresponding number of years since it was
witnessed.
RopeTrickRopeTrick
A data frame with 21 observations on the following 2 variables.
a numeric vector
a numeric vector
Wiseman, R. and P. Lamont. 1996. Unravelling the Indian rope-trick. Nature 383: 212-213.
http://www.richardwiseman.com/resources/ropeJSPR.pdf
xyplot(impressiveness ~ years, RopeTrick)xyplot(impressiveness ~ years, RopeTrick)
Time to mating (time.to.mating) in fed and unfed (treatment)
sagebrush crickets (Cyphoderris strepitans).
SagebrushCricketsSagebrushCrickets
A data frame with 24 observations on the following 2 variables.
a factor with levels: fed and
starved
a numeric vector
Chadwick Johnson, J., T.M. Ivy, and S.K. Sakaluk. 1999. Female remating propensity contingent on sexual cannibalism in sagebrush crickets, Cyphoderris strepitans: a mechanism of cryptic female choice. Behavioral Ecology 10: 227-233.
SagebrushCrickets str(SagebrushCrickets)SagebrushCrickets str(SagebrushCrickets)
Skin color sockeye and kokanee morphs of the Pacific salmon (Oncorhynchus nerka) raised in a low carotenoid environment.
SalmonColorSalmonColor
A data frame with 35 observations on the following 2 variables.
a factor with levels kokanee and
sockeye
a numeric vector
Craig, J.K. and C. Foote. 2001. Countergradient variation and secondary sexual color: phenotypic convergence promotes genetic divergence in carotenoid use between sympatric anadromous and nonanadromous morphs of sockeye salmon (Oncorhynchus nerka). Evolution 55: 380-391.
SalmonColor histogram(~ skin.color | species, SalmonColor) bwplot(skin.color ~ species, SalmonColor)SalmonColor histogram(~ skin.color | species, SalmonColor) bwplot(skin.color ~ species, SalmonColor)
Data on frequency of seeding per quadrat for 80 hypothetical quadrats.
SeedlingsSeedlings
A data frame with 8 observations on the following 2 variables.
a numeric vector
a numeric vector
SeedlingsSeedlings
Data for meta-analysis on the relationship between testosterone and aggression.
SelectionSelection
A data frame with 814 observations on the following 8 variables.
species investigated
trait investigated
strength of selection
size of sample
authors of publication
year of publication
journal of publication
volume and pages
Kingsolver, J.G., H.E. Hoekstra, J.M. Hoekstra, D. Berrigan, S.N. Vignieri, C.E. Hill, A. Hoang, P. Gibert, and P. Beerli. 2001. The strength of phenotypic selection in natural populations. The American Naturalist 157: 245-261.
histogram(~ strength.of.selection, Selection,n=40) table(Selection$species) -> s table(s) s[s>10] # most common species table(Selection$traitname) -> t table(t) t[t>10] # most common traitshistogram(~ strength.of.selection, Selection,n=40) table(Selection$species) -> s table(s) s[s>10] # most common species table(Selection$traitname) -> t table(t) t[t>10] # most common traits
Number of species in each of two taxa in closely related taxon pairings and
the difference between the two groups. One taxon has multiple matings
(polyandrous.species) and one has only single matings
(monandrous.species).
SexualSelectionSexualSelection
A data frame with 25 observations on the following 4 variables.
a numeric vector
a numeric vector
a numeric vector
identifier
Arnqvist, G., M. Edvardsson, U. Friberg, and T. Nilsson. 2000. Sexual conflict promotes speciation in insects. Proceedings of the National Academy of Sciences (USA) 97: 10460-10464.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC27046/
SexualSelection histogram(~ difference, SexualSelection, n = 20) hist(SexualSelection$difference, breaks = 20) # Calculate the number of tests and the number of negative tests (n <- length(SexualSelection$difference)) (n.neg <- sum(SexualSelection$difference < 0)) 2 * pbinom(q = n.neg, size = n, prob = 0.5) # With a binomial test binom.test(n.neg, n, p = 0.5)SexualSelection histogram(~ difference, SexualSelection, n = 20) hist(SexualSelection$difference, breaks = 20) # Calculate the number of tests and the number of negative tests (n <- length(SexualSelection$difference)) (n.neg <- sum(SexualSelection$difference < 0)) 2 * pbinom(q = n.neg, size = n, prob = 0.5) # With a binomial test binom.test(n.neg, n, p = 0.5)
Frequency of the nematode Camallanus oxycephalus per fish.
ShadParasitesShadParasites
A data frame with 7 observations on the following 2 variables.
a numeric vector
a numeric vector
Shaw, D.J., B.T. Grenfell, and A.P. Dobson. 1998. Patterns of macroparasite aggregation in wildlife host populations. Parasitology 117: 597-610.
http://www.ncbi.nlm.nih.gov/pubmed/9881385
ShadParasitesShadParasites
Body length (cm) and age (days) for 9,665 female Northern fur seals (Callorhinus ursinus).
ShrinkingSealsShrinkingSeals
A data frame with 9,665 observations on the following 2 variables.
age (days)
body length (cm)
Trites, A.W. and M.A. Bigg. 1996. Physical growth of northern fur seals: seasonal fluctuations and migratory influences. Journal of Zoology (London) 238: 459-482.
str(ShrinkingSeals) plot(ShrinkingSeals, pch = 16, cex = 0.5) xyplot(length ~ age, ShrinkingSeals, pch=16, alpha=0.65, cex=0.6)str(ShrinkingSeals) plot(ShrinkingSeals, pch = 16, cex = 0.5) xyplot(length ~ age, ShrinkingSeals, pch=16, alpha=0.65, cex=0.6)
Data on temperature and number of O-ring failures for 23 space
shuttle launches.
ShuttleDisasterShuttleDisaster
A data frame with 23 observations on the following 2 variables.
a numeric vector
a numeric vector
Dalal, S.R., E.B. Fowlkes, and B. Hoadley. 1989. Risk analysis of the Space Shuttle: Pre-Challenger prediction of failure. Journal of the American Statistical Association 408: 945-957.
Tufte, E.R. 1997. Visual Explanations: Images and Quantities, Evidence and Narrative. Graphics Press.
http://www.edwardtufte.com/tufte/
str(ShuttleDisaster) xyplot( jitter(failures, amount=0.1) ~ temperature, ShuttleDisaster, ylab='number of failures' )str(ShuttleDisaster) xyplot( jitter(failures, amount=0.1) ~ temperature, ShuttleDisaster, ylab='number of failures' )
Speciation "waiting times" in Hawaiian silverswords (Dubautia).
SilverswordSilversword
A data frame with 21 observations on the following variable.
a numeric vector
inferred from Baldwin, B. G. and M. J. Sanderson 1998. Age and rate of diversification of the Hawaiian silversword alliance (Compositae). Proceedings of the National Academy of Sciences (USA) 95: 9402-9406.
SilverswordSilversword
The increase in "slow-wave" sleep and improvements in spatial learning tasks in 10 humans.
SleepAndPerformanceSleepAndPerformance
A data frame with 10 observations on the following 2 variables.
a numeric vector
a numeric vector
Huber, R., M.F. Ghilardi, M. Massimini, and G. Tononi. 2004. Local sleep and learning. Nature 430: 78-81.
http://www.ncbi.nlm.nih.gov/pubmed/15184907
str(SleepAndPerformance) xyplot(improvement ~ sleep, SleepAndPerformance)str(SleepAndPerformance) xyplot(improvement ~ sleep, SleepAndPerformance)
Body Masses of 228 female Sockeye Salmon (Oncorhynchus nerka; http://www.nmfs.noaa.gov/pr/species/fish/sockeyesalmon.htm)
SockeyeFemalesSockeyeFemales
A data frame with 228 observations of a single variable.
body mass (kg)
Hendry, A.P., O.K. Berg, and T.P. Quinn. 1999. Condition dependence and adaptation-by-time: Breeding date, life history, and energy allocation within a population of salmon. Oikos 85: 499-514.
str(SockeyeFemales) summary(SockeyeFemales)str(SockeyeFemales) summary(SockeyeFemales)
A cross table of lifetime reproductive success (LifetimeRS) in female
and male house sparrows Passer domesticus in Norway.
SparrowsSparrows
A data frame with 9 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
Jensen, H., B.-E. Saether, T.H. Ringsby, J. Tufto, S.C. Griffith, and H. Ellegren. 2004. Lifetime reproductive success in relation to morphology in the House Sparrow Passer domesticus. Journal of Animal Ecology 73: 599-611.
SparrowsSparrows
Web height above ground (cm) and colony size for 17 colonies of the spider Cryptophora citricola in Gabon.
SpiderColoniesSpiderColonies
A data frame with 17 observations on the following 3 variables.
identifier
height of web above ground (cm)
number of spiders in colony
Rypstra, A. L. 1979. Foraging folks of spiders, a study of aggregate behavior in Cryptophora citricola Forskal (Araneae: Araneidae) in West Africa. Behavioral Ecology and Sociobiology 5: 291-300.
str(SpiderColonies) SpiderColoniesstr(SpiderColonies) SpiderColonies
Data on speed before and after amputation of a pedipalp in the spider genus Tidarren.
SpiderSpeedSpiderSpeed
A data frame with 32 observations on the following 2 variables.
speed (cm/s) before amputation
speed (cm/s) after amputation
Ramos, M., D.J. Irschick, and T.E. Christenson. 2004. Overcoming an evolutionary conflict: Removal of a reproductive organ greatly increases locomotor performance. Proceedings of the National Academy of Sciences (USA) 101: 4883-4887.
http://en.wikipedia.org/wiki/Pedipalp, http://en.wikipedia.org/wiki/Tidarren, http://www.pnas.org/content/101/14/4883
xyplot(speed.after ~ speed.before, SpiderSpeed) favstats(SpiderSpeed$speed.before) favstats(SpiderSpeed$speed.after) favstats(SpiderSpeed$speed.after - SpiderSpeed$speed.before)xyplot(speed.after ~ speed.before, SpiderSpeed) favstats(SpiderSpeed$speed.before) favstats(SpiderSpeed$speed.after) favstats(SpiderSpeed$speed.after - SpiderSpeed$speed.before)
Eye width in 9 male stalk-eyed flies (Cyrtodiopsis dalmanni).
Stalkies1Stalkies1
a data frame with 9 observations of 1 variable
eye span (mm)
Data provided by Kevin Fowler, University College, London.
Stalkies1Stalkies1
Eyespan width (mm; Eye.span) in 45 stalk-eyed flies
(Cyrtodiopsis dalmanni) fed a corn or cotton diet (Food).
Stalkies2Stalkies2
A data frame with 45 observations on the following 2 variables.
a factor with levels Corn
Cotton
a numeric vector
David, P., T. Bjorksten, K. Fowler, and A. Pomiankowski. 2000. Condition-dependent signalling of genetic variation in stalk-eyed flies. Nature 406: 186-188.
str(Stalkies2) xyplot(eye.span ~ food, Stalkies2) aggregate(eye.span ~ food, Stalkies2, FUN = favstats)str(Stalkies2) xyplot(eye.span ~ food, Stalkies2) aggregate(eye.span ~ food, Stalkies2, FUN = favstats)
Number of lateral plates (plates) in threespine sticklebacks
(Gasterosteus aculeatus) with three different Ectodysplasin
genotypes (mm, Mm, and MM).
SticklebackPlatesSticklebackPlates
A data frame with 344 observations on the following 2 variables.
a factor with levels mm,
Mm, and MM
number of plates
Colosimo, P.F., C.L. Peichel, K. Nereng, B.K. Blackman, M.D. Shapiro, D. Schluter, and D.M. Kingsley. 2004. The genetic architecture of parallel armor plate reduction in threespine sticklebacks. PLoS Biology 2: 635-641. http://www.plosbiology.org/article/info:doi/10.1371/journal.pbio.0020109
Colosimo P.F., K.E. Hosemann, S. Balabhadra, G. Villarreal, M. Dickson, J. Grimwood, J Schmutz, R.M. Myers, D. Schluter, D.M. Kingsley. 2005. Widespread parallel evolution in sticklebacks by repeated fixation of ectodysplasin alleles. Science 307: 1928-33. http://www.sciencemag.org/cgi/content/full/307/5717/1928
aggregate(plates ~ genotype, SticklebackPlates, FUN = favstats) histogram( ~ plates | genotype, SticklebackPlates, layout = c(1,3), n = 15, xlab = "Number of Lateral Body Plates" ) densityplot( ~ plates | genotype, SticklebackPlates, xlab = "Number of Lateral Body Plates", layout = c(1,3) )aggregate(plates ~ genotype, SticklebackPlates, FUN = favstats) histogram( ~ plates | genotype, SticklebackPlates, layout = c(1,3), n = 15, xlab = "Number of Lateral Body Plates" ) densityplot( ~ plates | genotype, SticklebackPlates, xlab = "Number of Lateral Body Plates", layout = c(1,3) )
Mating preference in 9 populations of three-spined sticklebacks.
SticklebackPreferenceSticklebackPreference
A data frame with 9 observations of one variable.
a numeric vector
McKinnon, J. S., S. Mori, B.K. Blackman, L. David, D.M. Kingsley, L. Jamieson, J. Chou, and D. Schluter. 2004. Evidence for ecology's role in speciation. Nature 429: 294-298.
http://www.nature.com/nature/journal/v429/n6989/abs/nature02556.html
SticklebackPreference histogram(~ preference.index, SticklebackPreference) dotplot(~ preference.index, SticklebackPreference)SticklebackPreference histogram(~ preference.index, SticklebackPreference) dotplot(~ preference.index, SticklebackPreference)
Counts of number of wins for sumo wrestlers.
SumoSumo
A data frame with 16 observations on the following 2 variables.
a numeric vector
a numeric vector
Duggan, M. and S.D. Leavitt. 2002. Winning isn't everything: Corruption in sumo wrestling. The American Economic Review 92: 1594-1605.
xyplot(count ~ wins, Sumo, type='h', lwd=4)xyplot(count ~ wins, Sumo, type='h', lwd=4)
Relative swimming speed (speed in syrup / speed in water) for 18 swimmers.
SyrupSwimmingSyrupSwimming
A data frame with 18 observations of one variable.
ratio of speed in syrup to speed in water
Gettelfinger, B. and E. L. Cussler. 2004. Will Humans Swim Faster or Slower in Syrup? AIChE Journal 50: 2646-2647.
http://www3.interscience.wiley.com/journal/109665380/issue
SyrupSwimming histogram(~ relative.speed, SyrupSwimming) dotplot(~ relative.speed, SyrupSwimming)SyrupSwimming histogram(~ relative.speed, SyrupSwimming) dotplot(~ relative.speed, SyrupSwimming)
Data from Table 1 (p. 14) on causes of death for all races, both sexes, ages 15-19.
TeenDeathsTeenDeaths
A data frame with 11 observations on the following 2 variables.
a character vector
a numeric vector
Anderson, R.N. 2001. Deaths: Leading causes for 1999. National vital statistics reports 49(11):1-88. National Center for Health Statistics; Hyattsville, Maryland.
str(TeenDeaths) TeenDeaths barchart(deaths ~ cause, TeenDeaths, horizontal = FALSE, ylab = "Number of Deaths", xlab = "Cause of Death", origin=0, scales = list(x = list(rot=45))) barchart(deaths~ordered(cause, levels=cause), TeenDeaths, horizontal = FALSE, ylab = "Number of Deaths", xlab = "Cause of Death", origin=0, scales=list(x=list(rot=45)) )str(TeenDeaths) TeenDeaths barchart(deaths ~ cause, TeenDeaths, horizontal = FALSE, ylab = "Number of Deaths", xlab = "Cause of Death", origin=0, scales = list(x = list(rot=45))) barchart(deaths~ordered(cause, levels=cause), TeenDeaths, horizontal = FALSE, ylab = "Number of Deaths", xlab = "Cause of Death", origin=0, scales=list(x=list(rot=45)) )
Telomere length (ratio) and years since their child's diagnosis with chronic illness.
TelomeresTelomeres
A data frame with 39 observations on the following 2 variables.
a numeric vector
a numeric vector
Epel, E.S., E.H. Blackburn, J. Lin, F.S. Dhabhar, N.E. Adler, J.D. Morrow, and R.M. Cawthon. 2004. Accelerated telomere shortening in response to life stress. Proceedings of the National Academy of Sciences (USA) 101: 17312-17315.
http://www.pnas.org/content/101/49/17312
xyplot(years ~ telomere.length, Telomeres, xlab = "Time since diagnosis (years)", ylab = "Telomere length (ratio)" )xyplot(years ~ telomere.length, Telomeres, xlab = "Time since diagnosis (years)", ylab = "Telomere length (ratio)" )
Hypoxanthine levels in the vitreous humour of the eye and time since death (hours) for 48 subjects.
TimeOfDeathTimeOfDeath
A data frame with 48 observations on the following 2 variables.
a numeric vector
a numeric vector
James, R.A., P.A. Hoadley, and B.G. Sampson. 1997. Determination of postmortem interval by sampling vitreous humor. American Journal of Forensic Medicine and Pathology 18: 158-162.
xyplot(hypoxanthine ~ hours, TimeOfDeath, type=c('p','r'))xyplot(hypoxanthine ~ hours, TimeOfDeath, type=c('p','r'))
Hypothetical probability of a toad being right-handed
ToadsToads
A data frame with 19 observations on the following 2 variables.
a numeric vector
a numeric vector
Toads # generate this data manually cbind(0:18, dbinom(0:18, 18, 0.5)) xyplot(prob ~ n.toads, Toads, type = 'h', lwd = 4) barchart(prob ~ n.toads, Toads, origin=0, horizontal=FALSE) plotDist('binom', params = list(18,0.5), kind = 'hist')Toads # generate this data manually cbind(0:18, dbinom(0:18, 18, 0.5)) xyplot(prob ~ n.toads, Toads, type = 'h', lwd = 4) barchart(prob ~ n.toads, Toads, origin=0, horizontal=FALSE) plotDist('binom', params = list(18,0.5), kind = 'hist')
Distribution of flow lengths in F1 and F2 populations of Nicotiana.
TobaccoTobacco
A data frame with 13 observations on the following 3 variables.
a numeric vector of flower length in mm
a numeric vector of the number of F1 plants with flower lengths in this size range
a numeric vector of the number of F2 plants with flower lengths in this size range
East, E.M. 1916. Studies on size inheritance in Nicotiana. Genetics 1: 164-176.
http://www.genetics.org/content/vol1/issue2/
http://en.wikipedia.org/wiki/Nicotiana
TobaccoTobacco
Distribution of flow lengths in F1 and F2 populations of Nicotiana.
Tobacco2Tobacco2
A data frame with 617 observations on the following 2 variables.
a numeric vector
a factor with levels F1 F2
East, E.M. 1916. Studies on size inheritance in Nicotiana. Genetics 1: 164-176.
http://www.genetics.org/content/vol1/issue2/
http://en.wikipedia.org/wiki/Nicotiana
xtabs(~ flower.length + generation, Tobacco2) bwplot(flower.length ~ generation, Tobacco2)xtabs(~ flower.length + generation, Tobacco2) bwplot(flower.length ~ generation, Tobacco2)
Actual birth year and birth year estimated from relative radioactivity of the enamel for 20 samples.
ToothAgeToothAge
A data frame with 20 observations on the following 2 variables.
a numeric vector
a numeric vector
Spalding, K.L., B.A. Buchholz, L.-E. Bergman, H. Druid, and J. Frisén. 2005. Age written in teeth by nuclear tests. Nature 437: 333-334.
str(ToothAge) xyplot(actual ~ estimated, ToothAge)str(ToothAge) xyplot(actual ~ estimated, ToothAge)
Fleck duration (min) and relative seedling growth rate (mm/mm/week) for 21 seedlings of Shorea leprosula.
TreeSeedlingsTreeSeedlings
A data frame with 21 observations on the following 2 variables.
a numeric vector
a numeric vector
Leakey, A.D.B., J.D. Scholes, and M.C. Press. 2005. Physiological and ecological significance of sunflecks for dipterocarp seedlings. Journal of Experimental Botany 56: 469-482.
http://jxb.oxfordjournals.org/cgi/content/short/56/411/469
str(TreeSeedlings) splom(TreeSeedlings)str(TreeSeedlings) splom(TreeSeedlings)
Frequencies of killifish (Fundulus parvipinnis) eaten by birds depending on level of infection by the trematode Euhaplorchis californiensis.
TrematodesTrematodes
A data frame with 141 observations on the following 2 variables.
a factor with levels:
high, light, and uninfected
a
factor with levels: no and yes
Lafferty, K.D. and A.K. Morris. 1996. Altered behavior of parasitized killifish increases susceptibility to predation by bird final hosts. Ecology 77: 1390-1397.
demo(sec9.3)demo(sec9.3)
Recruitment of Trillium and distance to nearest clearcut in eight populations in southwestern Oregon.
TrilliumTrillium
A data frame with 8 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
Jules, E.S. and B.J. Rathcke. 1999. Mechanisms of reduced trillium recruitment along edges of old-growth forest fragments. Conservation Biology 13: 784-793
str(Trillium) splom(Trillium)str(Trillium) splom(Trillium)
Number of truffles per plot for 288 plots in an old growth forest in northeastern California.
TrufflesTruffles
A data frame with 5 observations on the following 2 variables.
a numeric vector
a numeric vector
Waters, J.R., K.S. McKelvey, D.L. Luoam, and C.J. Zabel. 1997. Truffle production in old-growth and mature fir stands in northeastern California. Forest Ecology and Management 96: 155-166.
http://www.fs.fed.us/psw/publications/watersj/waters2.PDF
Truffles xyplot(count ~ truffles, Truffles, type='h', lwd=4) barchart(count ~ truffles, Truffles, origin=0, horizontal=FALSE)Truffles xyplot(count ~ truffles, Truffles, type='h', lwd=4) barchart(count ~ truffles, Truffles, origin=0, horizontal=FALSE)
Dietary conditioning treatment and subsequent proportion of tsetse
flies (Glossina palpalis) feeding on cow blood in each of 13 cohorts.
TsetseLearningTsetseLearning
A data frame with 13 observations on the following 2 variables.
a factor with levels cow and
lizard
a numeric vector
inferred from Bouyer, J., M. Pruvot, Z. Bengaly, P.M. Guerin, and R. Lancelot. 2007. Learning influences host choice in tsetse. Biology Letters 3: 113-116.
http://rsbl.royalsocietypublishing.org/content/3/2/113.full
xyplot(proportion.cow ~ treatment, TsetseLearning)xyplot(proportion.cow ~ treatment, TsetseLearning)
The number of boys in a sample of 2,444 two-child families.
TwoKidsTwoKids
A data frame with 3 observations on the following 2 variables.
a numeric vector
a numeric vector
Rodgers, J.L. and D. Doughty. 2001. Does having boys or girls run in the family? Chance Magazine Fall 2001: 8-13.
http://www.dartmouth.edu/~chance/chance_news/recent_news/chance_news_10.11.html#item13
TwoKids observed <- TwoKids$count expected <- c(585.3, 1221.4, 637.3) chisq.test(observed, p = expected, rescale.p = TRUE) # Alternate calculation, using Pr[male] = 0.512 # and rbinom. See Figure 5.7-1 n <- sum(observed) pr.m <- 0.512 pr.f <- 0.488 # Calculate the probabilities of 0, 1, and 2 males (pr.0 <- pr.f^2) (pr.1 <- pr.m * pr.f + pr.f * pr.m) (pr.2 <- pr.m^2) set.seed(1) (expected2 <- c(rbinom(1, n, pr.0), rbinom(1, n, pr.1), rbinom(1, n, pr.2))) chisq.test(observed, p = expected2, rescale.p = TRUE)TwoKids observed <- TwoKids$count expected <- c(585.3, 1221.4, 637.3) chisq.test(observed, p = expected, rescale.p = TRUE) # Alternate calculation, using Pr[male] = 0.512 # and rbinom. See Figure 5.7-1 n <- sum(observed) pr.m <- 0.512 pr.f <- 0.488 # Calculate the probabilities of 0, 1, and 2 males (pr.0 <- pr.f^2) (pr.1 <- pr.m * pr.f + pr.f * pr.m) (pr.2 <- pr.m^2) set.seed(1) (expected2 <- c(rbinom(1, n, pr.0), rbinom(1, n, pr.1), rbinom(1, n, pr.2))) chisq.test(observed, p = expected2, rescale.p = TRUE)
Numbers of cattle bitten by the cow's estrous cycle.
VampireBitesVampireBites
A data frame with 4 observations on the following 3 variables.
a factor with levels: no and
yes
a factor with levels: no and
yes
a numeric vector
Turner, D.C. 1975. The Vampire Bat: a Field Study in Behavior and Ecology. Johns Hopkins Press: Baltimore, MD.
demo(sec9.4)demo(sec9.4)
Time spent with a female (percent) in control and
vasopressin-enhanced groups (treatment) of meadow voles
(Microtus pennsylvanicus).
VasopressinVolesVasopressinVoles
A data frame with 31 observations on the following 2 variables.
a factor with levels control and
enhanced
a numeric vector
inferred from Lim, M.M., Z. Wang, D.E. Olazabal, X. Ren, E.F. Terwilliger, and L.J. Young. 2004. Enhanced partner preference in a promiscuous species by manipulating the expression of a single gene. Nature 429: 754-757.
xyplot(percent ~ treatment, VasopressinVoles, type=c('p','a')) bwplot(percent ~ treatment, VasopressinVoles)xyplot(percent ~ treatment, VasopressinVoles, type=c('p','a')) bwplot(percent ~ treatment, VasopressinVoles)
Number of climbing and nonclimbing species within closely
related general of plants.
VinesVines
A data frame with 48 observations on the following 2 variables.
a numeric vector
a numeric vector
Gianoli, E. 2004. Evolution of a climbing habit promotes diversification in flowering plants. Proceedings of the Royal Society of London, Series B, Biological Sciences 271: 2011-2015.
http://rspb.royalsocietypublishing.org/content/271/1552/2011.full.pdf
xyplot(nonclimbing ~ climbing, Vines, scales=list(log=TRUE))xyplot(nonclimbing ~ climbing, Vines, scales=list(log=TRUE))
Home range size size in field voles (Microtus agrestis).
VoleDispersalVoleDispersal
A data frame with 5 observations on the following 3 variables.
a numeric vector
a numeric vector
a factor with
levels female and male
Sandell, M., J. Agrell, S. Erlinge, and J. Nelson. 1991. Adult philopatry and dispersal in the field vole Microtus agrestis. Oecologia 86: 153-158.
xtabs(count~sex+homeranges,VoleDispersal) barchart( xtabs(count~sex+homeranges,VoleDispersal), origin=0, auto.key=TRUE) barchart(count~sex+homeranges,VoleDispersal, origin=0) barchart(count~sex,groups=homeranges,VoleDispersal, origin=0) barchart(count~sex,groups=homeranges,VoleDispersal, origin=0,stack=TRUE)xtabs(count~sex+homeranges,VoleDispersal) barchart( xtabs(count~sex+homeranges,VoleDispersal), origin=0, auto.key=TRUE) barchart(count~sex+homeranges,VoleDispersal, origin=0) barchart(count~sex,groups=homeranges,VoleDispersal, origin=0) barchart(count~sex,groups=homeranges,VoleDispersal, origin=0,stack=TRUE)
Two measures of femur length femur.length for each of 25
walking sticks (Timema cristinae). Note that specimen
is not coded as a factor.
WalkingStickFemursWalkingStickFemurs
A data frame with 50 observations on the following 2 variables.
a integer denoting specimen number.
a numeric vector of femur length
Nosil, P. and B.J. Crespi. 2006. Experimental evidence that predation promotes divergence in adaptive radiation. Proceedings of the National Academy of Sciences (USA) 103: 9090-9095.
http://www.sfu.ca/biology/faculty/crespi/pdfs/96-Nosil&Crespi2006PNAS.pdf
demo(sec15.6)demo(sec15.6)
Two measures of head width (head.width) for each of 25 walking sticks
(Timema cristinae).
WalkingStickHeadsWalkingStickHeads
A data frame with 50 observations on the following 2 variables.
a factor with levels 1-25
a numeric vector
Nosil, P. and B.J. Crespi. 2006. Experimental evidence that predation promotes divergence in adaptive radiation. Proceedings of the National Academy of Sciences (USA) 103: 9090-9095.
http://www.sfu.ca/biology/faculty/crespi/pdfs/96-Nosil&Crespi2006PNAS.pdf
aggregate(head.width ~ specimen, data=WalkingStickHeads, mean) -> WS histogram(~ head.width, WS)aggregate(head.width ~ specimen, data=WalkingStickHeads, mean) -> WS histogram(~ head.width, WS)
Comparison of oxygen consumption in feeding vs. non-feeding dives of the same length in the Weddell seal (Leptonychotes weddellii).
WeddellSealsWeddellSeals
A data frame with 10 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
Williams, T.M., L.A. Fuiman, M. Horning, and R.W. Davis. 2004. The cost of foraging by a marine predator, the Weddell seal Leptonychotes weddellii: pricing by the stroke. Journal of Experimental Biology 207: 973-982.
http://jeb.biologists.org/cgi/content/full/207/6/973
xyplot(oxygen.use.nonfeeding ~ oxygen.use.feeding, WeddellSeals)xyplot(oxygen.use.nonfeeding ~ oxygen.use.feeding, WeddellSeals)
Number of times a presidential candidate said "will," "shall," or "going to" in presidential debates from 1960-2004 (years incomplete).
WillsDebatesWillsDebates
A data frame with 8 observations on the following 6 variables.
year of presidential debate(s)
winner of the popular vote (may not be winner of election)
loser of popular vote (may not be loser of election)
number of times will/shall used by winner during debates
number of times will/shall used by loser during debates
difference between number of times will/shall used by two candidates
WillsDebatesWillsDebates
Number of times a presidential candidate said "will," "shall," or "going to" in presidential debates from 1960-2004 (years incomplete).
WillsPresidentsWillsPresidents
A data frame with 16 observations on the following 3 variables.
a character vector with the candidate's name
a factor with levels n y
indicating whether the candidate won the election y or not.
a numeric vector
a numeric vector
a numeric vector
a numeric vector
WillsPresidentsWillsPresidents
Measurement (cm) of the distance between the canine and last molar teeth in 35 wolves.
WolfTeethWolfTeeth
A data frame with 35 observations of one variable.
distance from canine to last molar teach (cm)
Whitlock, M. 1996. The heritability of fluctuating asymmetry and the genetic control of developmental stability. Proceedings of the Royal Society, Series B 263: 849-853.
http://rspb.royalsocietypublishing.org/content/263/1372/849.abstract
histogram(~ length, WolfTeeth)histogram(~ length, WolfTeeth)
Inbreeding coefficient and the number of pups produced in 24 mated pairs of wolves (Canis lupus) from 1983-2002.
WolvesWolves
A data frame with 24 observations on the following 2 variables.
a numeric vector
a numeric vector
Liberg, O.H., H. Andrén, H.-C. Pedersen, H. Sand, D. Sejberg, P. Wabakken, M. Åkesson, and S. Bensch. 2005. Severe inbreeding depression in a wild wolf (Canis lupus) population. Biology Letters 1: 17-20.
Wolves xyplot(inbreeding.coefficient ~ jitter(pups, amount=0.15), Wolves)Wolves xyplot(inbreeding.coefficient ~ jitter(pups, amount=0.15), Wolves)
Number of goals per team during the 2002 World Cup.
WorldCupWorldCup
A data frame with 7 observations on the following 2 variables.
a numeric vector
a numeric vector
xyplot(count ~ score, WorldCup, type='h', lwd=4) barchart(count ~ score, WorldCup, origin=0, horizontal=FALSE)xyplot(count ~ score, WorldCup, type='h', lwd=4) barchart(count ~ score, WorldCup, origin=0, horizontal=FALSE)
Number and sex of adult wrasses in a section of the Great Barrier Reef.
WrasseSexesWrasseSexes
A data frame with 3 observations on the following 3 variables.
a numeric vector
a numeric vector
a numeric vector
xtabs(count ~ males + females, WrasseSexes)xtabs(count ~ males + females, WrasseSexes)
Number of genes regulated by 109 yeast regulatory genes.
YeastGenesYeastGenes
A data frame with 6 observations on the following 2 variables.
a numeric vector
a numeric vector
Guelzim, N., S. Bottani, P. Bourgine and F. Képès. 2002. Topological and causal structure of the yeast transcriptional regulatory network. Nature Genetics 31: 60-63.
str(YeastGenes) barchart(count ~ genes.controlled , origin=0, YeastGenes, horizontal=FALSE)str(YeastGenes) barchart(count ~ genes.controlled , origin=0, YeastGenes, horizontal=FALSE)
Percentage of time that a female spent next to a carotenoid-supplemented male Zebra Finch compared to his non-supplemented brother.
ZebraFinchBeaksZebraFinchBeaks
A numeric vector with 10 observations.
Blount, J.D., N.B. Metcalfe, T.R. Birkhead, P.F. Surai. 2003. Carotenoid modulation of immune function and sexual attractiveness in Zebra Finches. Science 300: 125-127.
http://www.sciencemag.org/cgi/content/abstract/300/5616/125
ZebraFinchBeaksZebraFinchBeaks
Data on cell-mediated immunocompetence (PHA) and humoral immunity
(SRBC) in Zebra Finches that received supplemental carotenoids
(CAROT) and those that did not (NO).
ZebraFinchesZebraFinches
A data frame with 20 observations on the following 3 variables.
a factor with levels: CAROT and
NO
a numeric vector
a numeric vector
McGraw, K.J. and D.R. Ardia. 2003. Carotenoids, immunocompetence, and the information content of sexual colors: an experimental test. The American Naturalist 162: 704-712.
ZebraFinchesZebraFinches
Home range size () and captive infant mortality (
for 20 species of carnivores.
ZooMortalityZooMortality
A data frame with 20 observations on the following 2 variables.
a numeric vector
a numeric vector
Clubb, R. and G. Mason. 2003. Captivity effects on wide ranging carnivores. Nature 425: 473-474.
str(ZooMortality)str(ZooMortality)
Diversity of zooplankton (zooplankton) prey in each of 5 replicate
blocks (block) of three treatment levels (treatment). By
default, block is not coded as a factor.
ZooplanktonZooplankton
A data frame with 15 observations on the following 3 variables.
a factor with levels control,
high, and low
a numeric vector
a numeric vector
inferred from Svanbäck, R. and D.I. Bolnick. 2007. Intraspecific competition drives increased resource use diversity within a natural population. Proceedings of the Royal Society of London Series B, Biological Sciences 274: 839-844.
Zooplankton Zooplankton$block <- factor(Zooplankton$block) str(Zooplankton) aov.fit <- aov(zooplankton ~ block + treatment, data = Zooplankton) summary(aov.fit)Zooplankton Zooplankton$block <- factor(Zooplankton$block) str(Zooplankton) aov.fit <- aov(zooplankton ~ block + treatment, data = Zooplankton) summary(aov.fit)