View source: R/RasperGade_cross_validation.R
LOO_CV_with_BM | R Documentation |
Predict hidden states under the BM model in a leave-one-out cross-validation
LOO_CV_with_BM(phy, trait)
phy |
phylo-class object from |
trait |
named vector of tip trait values; names should match the tip labels; missing values are hidden states |
numCores |
number of threads to run in parallel |
$summary
is a data frame listing the means and variances of the hidden states
$error
is a list of error distributions where each element is a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.