View source: R/setPriors.Hmsc.R
setPriors.Hmsc | R Documentation |
Sets or resets priors to the Hmsc
object
## S3 method for class 'Hmsc' setPriors( hM, V0 = NULL, f0 = NULL, mGamma = NULL, UGamma = NULL, aSigma = NULL, bSigma = NULL, nuRRR = NULL, a1RRR = NULL, b1RRR = NULL, a2RRR = NULL, b2RRR = NULL, rhopw = NULL, setDefault = FALSE, ... )
hM |
a fitted |
V0 |
scale matrix in the Wishart prior distribution for the V matrix |
f0 |
number of degrees of freedom in the Wishart prior distribution for the V matrix |
mGamma |
mean for the prior multivariate Gaussian distribution for Gamma parameters |
UGamma |
covariance matrix for the prior multivariate Gaussian distribution for Gamma parameters |
aSigma |
shape parameter for the prior gamma distribution for the variance parameter, only for normal & lognormal Poisson models |
bSigma |
rate parameter for the prior gamma distribution for the variance parameter, only for normal & lognormal Poisson models |
nuRRR, a1RRR, b1RRR, a2RRR, b2RRR |
parameters of the multiplicative gamma process shrinking prior for reduced rank regression |
rhopw |
discrete grid prior for phylogenetic signal, should be a matrix of 2 columns |
setDefault |
logical indicating whether default priors should be used |
... |
other parameters passed to the function. |
Modified Hmsc
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.