findWinner: Internal PhyloRegression function for finding the winning...

View source: R/findWinner.R

findWinnerR Documentation

Internal PhyloRegression function for finding the winning edge.

Description

Internal PhyloRegression function for finding the winning edge.

Usage

findWinner(nset, tree_map, treeList, treetips, contrast.fcn = NULL,
  choice, method = "glm", frmla = NULL, xx = NULL,
  choice.fcn = NULL, ...)

Arguments

nset

set of nodes

tree_map

mapping cumulative number of nodes in treeList, used to map elements of nset to their appropriate tree in treeList.

treeList

list containing disjoint trees from phylofactor / PhyCA

treetips

number of tips in each tree

contrast.fcn

See PhyloFactor or example functions BalanceContrast, amalgamate

choice

string indicating how we choose the winner. Must be either 'var', 'F', or 'phyca'

method

See PhyloFactor

frmla

Formula for glm. See PhyloFactor for more details.

xx

data frame containing non-ILR (Data) variables used in frmla

choice.fcn

See PhyloFactor

...

optional input arguments to glm


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