chamae3 | R Documentation |
Data on life history traits for the partridge pea Chamaecrista fasciculata
data(chamae3)
A data frame with records for 2239 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.
Zero-or-one-valued. Indicates “fitness” nodes of the graph.
Categorical. Sire.
Categorical. Dam.
Categorical. Experiment site.
Categorical. Population of sire and dam.
Numerical. Row. Position in site.
Categorical. Block within site.
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.
Julie Etterson https://sites.google.com/d.umn.edu/dr-julie-r-etterson/home
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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/j.0014-3820.2004.tb01727.x")}.
These data were 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(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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.