Learn R Programming

pez (version 1.2-4)

traitgram.cc: Traitgram for comparative community object

Description

traitgram.cc A wrapper for the traitgram function in the picante package.

princompOne A very soft wrapper for princomp

Usage

traitgram.cc(object, trait, moreArgs = NULL, ...)

princompOne(x, ...)

Value

traitgram.cc: see traitgram

princompOne: the first axis of a PCA

Arguments

object

A comparative.comm object.

trait

Which trait to plot. If missing, use the first trait. If a positive numeric vector of length one, use the as.integer(trait)th trait. If a numeric vector, use it instead of the trait data in object. If a character vector of length one, use the trait with that name. If a function pass the trait data frame through that function and use the result (princompOne is a wrapper). If an expression, evaluate that expression in the environment of the trait data and use the result. If a character vector, then convert to an expression and evaluate in the environment of the trait data and use the result.

moreArgs

List of more arguments to pass on to trait (if its a function).

...

Additional arguments to be passed on to traitgram or prcomp for traitgram.cc and princomOne respectively.

x

A matrix-like object