AncestralNiche: Predict ancestral niche

View source: R/AncestralNiche.R

AncestralNicheR Documentation

Predict ancestral niche

Usage

AncestralNiche(trees, best.tree, predictors.values, outgroup = F, nodes,
  trees.sample = 100, trees.burnin = 20, do.lambda = T, do.models = F)

Arguments

trees

object of class "multiPhylo".

best.tree

object of class "phylo".

predictors.values

a named numeric vector of predictor values obtained by SelectPredVals.

outgroup

vector of phylogenetic tips for outgroup. Not necessary.

nodes

internal nodes to estimate states (combined characters or numbers).

trees.sample

trees sample fraction (how many trees to analyze).

trees.burnin

trees burn-in percentage (how many trees to drop before sampling a fraction).

do.lambda

a flag whether to estimate phylogenetic sygnal of predictors on trees.

do.models

a flag whether to estimate best fitting evolutionary model for obtaining ancestral values for predictors.

Value

object of class "AncestalNiche"


dissipative/recline documentation built on March 22, 2023, 8:57 p.m.