Initialize.corPhyl: Initialize a 'corPhyl' Structure Object

View source: R/PGLS.R

Initialize.corPhylR Documentation

Initialize a ‘corPhyl’ Structure Object

Description

Initialize a corPhyl correlation structure object. Does the same as Initialize.corStruct, but also checks the row names of data and builds an index.

Usage

	## S3 method for class 'corPhyl'
Initialize(object, data, ...)

Arguments

object

An object inheriting from class corPhyl.

data

The data to use. If it contains rownames, they are matched with the tree tip labels, otherwise data are supposed to be in the same order than tip labels and a warning is sent.

...

some methods for this generic require additional arguments. None are used in this method.

Value

An initialized object of same class as object.

Author(s)

Julien Dutheil dutheil@evolbio.mpg.de

See Also

corClasses, Initialize.corStruct.


ape documentation built on March 31, 2023, 6:56 p.m.