gjamOrdination {gjam} | R Documentation |
Ordinate gjam data
Description
Ordinate data from a gjam object using correlation corresponding to reponse matrix E
.
Usage
gjamOrdination(output, specLabs = NULL, col = NULL, cex = 1,
PLOT=T, method = 'PCA')
Arguments
output |
object of |
specLabs |
|
col |
|
cex |
text size in plot. |
PLOT |
|
method |
|
Details
Ordinates the response correlation ematrix
contained in output$parameterTables
. If method = 'PCA'
returns eigenvalues and eigenvectors. If method = 'PCA'
returns three NMDS dimensions. If PLOT
, then plots will be generated. Uses principle components analysis or non-metric multidimensional scale (NMDS).
Value
eVecs |
|
eValues |
If |
Author(s)
James S Clark, jimclark@duke.edu
References
Clark, J.S., D. Nemergut, B. Seyednasrollah, P. Turner, and S. Zhang. 2017. Generalized joint attribute modeling for biodiversity analysis: Median-zero, multivariate, multifarious data. Ecological Monographs 87, 34-56.
See Also
gjam
fits the data
A more detailed vignette is can be obtained with:
browseVignettes('gjam')
website 'http://sites.nicholas.duke.edu/clarklab/code/'.
Examples
## Not run:
f <- gjamSimData(S = 30, typeNames = 'CA')
ml <- list(ng = 1000, burnin = 200, typeNames = f$typeNames, holdoutN = 10)
output <- gjam(f$formula, f$xdata, f$ydata, modelList = ml)
ePCA <- gjamOrdination(output, PLOT=TRUE)
eNMDS <- gjamOrdination(output, PLOT=TRUE, method='NMDS')
## End(Not run)