predict.phylofactor: predict newdata with phylofactor object. Only works for...

View source: R/predict.phylofactor.R

predict.phylofactorR Documentation

predict newdata with phylofactor object. Only works for PhyloFactor and gpf objects.

Description

predict newdata with phylofactor object. Only works for PhyloFactor and gpf objects.

Usage

## S3 method for class 'phylofactor'
predict(PF, factor = NULL, frmla.phylo = NULL,
  newMetaData = NULL, ...)

Arguments

PF

phylofactor class object

factor

factor level to use for predictions. Will use all factors in 1:factor

newMetaData

required input MetaData for PF$algorithm=='mStable'.

...

additional arguments for predict

frmla.phlo

formula using term phylo, as in gpf.


reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.