Data on life history traits for the partridge pea Chamaecrista fasciculata
data(chamae)
A data frame with records for 2235 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.
Numerical. Reproductive stage. Integer with only 3 values in this dataset.
Numerical. Log leaf number.
Numerical. Log leaf thickness.
Categorical. Block within experiment.
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
Fecundity. Bernoulli, One if any fruit, zero if no fruit.
Integer. Number of fruits observed. Greater than or equal 3 if nonzero.
Integer. Number of seeds observed from a random sample of 3 of the fruits for this individual.
These data are a subset of data previously analyzed by non-aster methods in the following.
Etterson, J. R. (2004). Evolutionary potential of Chamaecrista fasciculata in relation to climate change. I. Clinal patterns of selection along an environmental gradient in the great plains. Evolution, 58, 1446-1458. tools:::Rd_expr_doi("10.1111/j.0014-3820.2004.tb01726.x").
Etterson, J. R., and Shaw, R. G. (2001). Constraint to adaptive evolution in response to global warming. Science, 294, 151-154. tools:::Rd_expr_doi("10.1126/science.1063656").
These data are reanalyzed by aster methods in the following.
Shaw, R. G., Geyer, C. J., Wagenius, S., Hangelbroek, H. H., and Etterson, J. R. (2008) Unifying life history analyses for inference of fitness and population growth. American Naturalist, 172, E35-E47. tools:::Rd_expr_doi("10.1086/588063").
data(chamae)
### wide version
chamaew <- reshape(chamae, direction = "wide", timevar = "varb",
v.names = "resp", varying = list(levels(chamae$varb)))
Run the code above in your browser using DataLab