| extract.equivalent_shifts {PhylogeneticEM} | R Documentation |
extract.equivalent_shifts takes an object of class
equivalent_shifts, result of function equivalent_shifts,
and returns the shifts of root values for a given trait.
## S3 method for class 'equivalent_shifts'
extract(x, trait = 1, what = c("shifts_values",
"root_values"), ...)
x |
an object of class |
trait |
the number of the trait to be extracted. Default to 1. |
what |
one of "shifts_values" or "root_values". |
... |
unused. |
A matrix with the values of the shifts (what = "shifts_values") or
the root (what = "root_values") for the trait for each equivalent
configuration. Each column is one configuration.
equivalent_shifts, plot.equivalent_shifts,
equivalent_shifts_edges