traitgram.cc
A wrapper for the
traitgram
function in the
picante
package.
princompOne
A very soft wrapper for princomp
traitgram.cc(object, trait, moreArgs = NULL, ...)princompOne(x, ...)
traitgram.cc
: see
traitgram
princompOne
: the first axis of a PCA
A comparative.comm
object.
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.
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.
A matrix-like object