continuousAceByPIC: Predict global ancestral state under the BM model

View source: R/RasperGade_global_ancestral_state.R

continuousAceByPICR Documentation

Predict global ancestral state under the BM model

Description

Predict global ancestral state under the BM model given a phylogeny, known tip states, and the rate of BM

Usage

continuousAceByPIC(x, phy, rate = 1)

Arguments

x

named vector of tip trait values; names should match the tip labels with no missing values

phy

phylo-class object from ape package

rate

the rate of BM

Value

a data frame listing the means and variances of the ancestral states


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