postPredCor | R Documentation |
Computes the correlation between observed SPDs and posterior generated SPD from the output of postPredSPD()
function as an heuristic of the goodness-of-fit of the model.
postPredCor(x, method = "pearson")
x |
An object of class |
method |
a character string indicating which correlation coefficient is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated. |
A vector of correlation values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.