setPriors.HmscRandomLevel {Hmsc} | R Documentation |
setPriors.HmscRandomLevel
Description
Sets or resets priors to the Hmsc object
Usage
## S3 method for class 'HmscRandomLevel'
setPriors(
rL,
nu = NULL,
a1 = NULL,
a2 = NULL,
b1 = NULL,
b2 = NULL,
alphapw = NULL,
nfMax = NULL,
nfMin = NULL,
setDefault = FALSE,
...
)
Arguments
rL |
a fitted |
nu , a1 , b1 , a2 , b2 |
parameters of the multiplicative gamma process shrinking prior |
alphapw |
discrete grid prior for spatial scale parameter |
nfMax |
maximum number of latent factors to be sampled |
nfMin |
minimum number of latent factors to be sampled |
setDefault |
logical indicating whether default priors should be used |
... |
other arguments (ignored) |
Value
Modified HmscRandomLevel object
[Package Hmsc version 3.0-13 Index]