Data on life history traits for the partridge pea
Chamaecrista fasciculata
Usage
chamae3
Format
A data frame with records for 2239 plants.
Data are already in “long” format; no need to reshape.
resp
Response vector.
varb
Categorical. Gives node of graphical model corresponding
to each component of resp. See details below.
root
All ones. Root variables for graphical model.
id
Categorical. Indicates individual plants.
fit
Zero-or-one-valued. Indicates “fitness” nodes of the
graph.
SIRE
Categorical. Sire.
DAM
Categorical. Dam.
SITE
Categorical. Experiment site.
POP
Categorical. Population of sire and dam.
ROW
Numerical. Row. Position in site.
BLK
Categorical. Block within site.
Details
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
fecund
Fecundity. Bernoulli, One if any fruit, zero if no fruit.
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. II. Genetic architecture of three
populations reciprocally planted along an environmental gradient in the
great plains.
Evolution, 58, 1459–1471.
Examples
data(chamae3)
### wide version
## Not run:
### CRAN policy says examples must take < 5 sec. This doesn't.
foo <- chamae3
### delete fit because it makes no sense in wide version
foo$fit <- NULL
chamae3w <- reshape(foo, direction = "wide", timevar = "varb",
v.names = "resp", varying = list(levels(chamae3$varb)))
## End(Not run)