Description Usage Arguments Value See Also Examples
Matches phylogenies and data into a mulTree
object.
1 2 | prepareSider(data.estimate, data.isotope, tree, isotope,
random.terms = ~animal + species + tissue)
|
data.estimate |
data for species to be imputed (see
|
data.isotope |
a |
tree |
a |
isotope |
the isotope for which discrimination factor is to be imputed,
either |
random.terms |
an object of class |
A mulTree
object.
recipeSider
, combined_trees
,
isotope_data
, as.mulTree
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Load the combined trees data
#data(combined_trees)
## Initialise the data in the right format
new.data.test <- recipeSider(species = "Meles_meles", habitat = "terrestrial",
taxonomic.class = "mammalia", tissue = "blood", diet.type = "omnivore",
tree = combined_trees)
## Load the isotope data
#data(isotope_data)
## Generate the mulTree object to be passed to imputeSider()
tdf_data_c <- prepareSider(data.estimate = new.data.test,
data.isotope = isotope_data, tree = combined_trees, isotope = "carbon")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.