phen.reconstruction | R Documentation |
This vector contains the terminal and ancestral states of a binary phenotypic variable (data(phen)
).
The observed phenotypic states of sampled individuals
(i.e., those represented at the terminal nodes of a phylogenetic tree)
are presented first, in elements 1:N (here 1:100).
The unobserved ancestral states of the phenotype at internal nodes have been
inferred via ancestral state reconstruction, using asr(phen, tree)
.
data(phen.reconstruction)
A named vector of length 199.
Like the original phenotypic vector (data(phen)
),
phen.reconstruction
is a binary variable that is encoded as a factor
with two possible phenotypic states, "A" and "B",
which may be represented by the numeric values 1 and 2 (as in str(phen.reconstruction)
).
Each individual in the sample is represented by a unique identifier (name) which corresponds to the name of one element of the phenotypic vector. (Internal node names have been generated during ancestral state reconstruction.) Each element of the phenotypic vector gives the phenotypic value of the named individual.
Caitlin Collins caitiecollins@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.