Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/gjamOrdination.R
Ordinate data from a gjam object using correlation corresponding to reponse matrix E
.
1 2 | 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:
website 'http://sites.nicholas.duke.edu/clarklab/code/'.
1 2 3 4 5 6 7 8 | ## Not run:
f <- gjamSimData(S = 30, typeNames = 'CA')
ml <- list(ng = 30, burnin = 5, typeNames = f$typeNames, holdoutN = 10)
output <- gjam(f$formula, f$xdata, f$ydata, modelList = ml)
ePCA <- gjamOrdination(output, PLOT=FALSE)
eNMDS <- gjamOrdination(output, PLOT=FALSE, method='NMDS')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.