LOO_CV_with_BM: Leave-one-out cross-validation under BM model

View source: R/RasperGade_cross_validation.R

LOO_CV_with_BMR Documentation

Leave-one-out cross-validation under BM model

Description

Predict hidden states under the BM model in a leave-one-out cross-validation

Usage

LOO_CV_with_BM(phy, trait)

Arguments

phy

phylo-class object from ape package

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

Value

$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


wu-lab-uva/RasperGade documentation built on June 24, 2022, 2:47 p.m.