View source: R/gjamOrdination.R
gjamOrdination | R Documentation |
Ordinate data from a gjam object using correlation corresponding to reponse matrix E
.
gjamOrdination(output, specLabs = NULL, col = NULL, cex = 1, PLOT=T, method = 'PCA')
output |
object of |
specLabs |
|
col |
|
cex |
text size in plot. |
PLOT |
|
method |
|
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).
|
|
|
If |
James S Clark, jimclark@duke.edu
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.
gjam
fits the data
A more detailed vignette is can be obtained with:
browseVignettes('gjam')
website 'http://sites.nicholas.duke.edu/clarklab/code/'.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.