oats | R Documentation |
Data on life history traits for the invasive California wild oat Avena barbata
data(oats)
A data frame with records for 821 plants. Data are already in “long” format; no need to reshape.
Response vector.
Categorical. Gives node of graphical model corresponding
to each component of resp
. See details below.
All ones. Root variables for graphical model.
Categorical. Indicates individual plants.
Categorical. Another indicator of individual plants.
Categorical. Environment in which plant was grown, a combination of experimental site and year.
Categorical. Ecotype of plant: mesic (M) or xeric (X).
Categorical. Accession, nested within ecotype.
Categorical. Experiment site. Two sites in these data.
Categorical. Year in which data were collected. Four years in these data.
Indicator (zero or one). Shorthand
for as.numeric(oats$varb == "Spike")
. So-called because the
components of outcome
indicated are the best surrogate of
Darwinian fitness in these data.
The levels of varb
indicate nodes of the graphical model to which
the corresponding elements of the response vector resp
belong.
This is the typical “long” format produced by the R reshape
function. For each individual, there are several response variables.
All response variables are combined in one vector resp
.
The variable varb
indicates which “original” variable
the number was for. The variable id
indicates which individual
the number was for. The levels of varb
, which are the names
of the “original” variables are
Indicator (zero or one). Bernoulli, One if individual survived to produce flowers.
Integer. Zero-truncated Poisson, number of spikelets (compound floral structures) observed.
Graphical model is
1 \longrightarrow \mbox{Surv} \longrightarrow \mbox{Spike}
Robert Latta https://www.dal.ca/faculty/science/biology/faculty-staff/our-faculty/robert-latta.html
These data are a subset of data previously analyzed using non-aster methods in the following.
Latta, R. G. (2009). Testing for local adaptation in Avena barbata, a classic example of ecotypic divergence. Molecular Ecology, 18, 3781–3791. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1111/j.1365-294X.2009.04302.x")}.
These data are reanalyzed by aster methods in the following.
Geyer, C. J., Ridley, C. E., Latta, R. G., Etterson, J. R., and Shaw, R. G. (2013) Local Adaptation and Genetic Effects on Fitness: Calculations for Exponential Family Models with Random Effects. Annals of Applied Statistics, 7, 1778–1795. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1214/13-AOAS653")}.
data(oats)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.