eigenRegr | R Documentation |
Evaluates the proportionality between the intraspecific patterns of covariation and interespecific rates of evolution through eigen-decompositon.
eigenRegr(G, means, phy, n.s, sims = 1000, dim.ret = NULL, parallel = FALSE)
G |
matrix kxk for k number of traits. |
means |
matrix sxk containing the empirical means of all k characters for each species (s). Default = NULL. |
phy |
a phylogenetic tree. Must be of class 'phylo'. |
n.s |
a vector indicating the sample sizes for each terminal. |
sims |
numeric. total number of summulations. |
dim.ret |
choose the number of dimentions that should be retained in the analysis. |
parallel |
Should parallelize? Default is FALSE. See 'parallel vignette' for details |
npEigentest returns a list containing summary of test results, simulated values for each test, and observed results for empirical data.
Empirical statistic values.
Simulated statistic values.
Relationship between empirical within-species eigenvalues and between species variances.
Fabio Andrade Machado
## Not run: data("Canidae")
## Not run: test.out<-npEigentest(G=W, means, tree, n.s, sims = 100, dim.ret = 20)
test.out$SimValues
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.