pvDeviance: obtains deviance for partitioning variables - default...

View source: R/pvDeviance.R

pvDevianceR Documentation

obtains deviance for partitioning variables - default objective function for gpf

Description

obtains deviance for partitioning variables - default objective function for gpf

Usage

pvDeviance(model, grp, tree, PartitioningVariables = "", model.fcn,
  phyloData, ...)

Arguments

model

model, such as glm, lm, nls, gam, which can be put into anova.

grp

two-member list of integers, see getPhyloGroups.

tree

phylo class object

PartitioningVariables

string - used to find partitioning variables in anova table.

model.fcn

input model function for gpf

phyloData

Data frame passed to model.fcn, used here to compute null deviance without phylo factors in gam objects

...

additional arguments passed to model.fcn passed down from the input to gpf


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