View source: R/model-helpers.R
| get_Vp | R Documentation |
Returns the covariance matrix that matches the coefficients returned by
get_coefs. For mgcv models this is the Bayesian
posterior covariance matrix object$Vp, for scam models the
covariance matrix of the re-parametrized coefficients object$Vp.t
and vcov(object) otherwise.
get_Vp(object, ...)
## Default S3 method:
get_Vp(object, ...)
## S3 method for class 'gam'
get_Vp(object, ...)
## S3 method for class 'scam'
get_Vp(object, ...)
object |
A fitted model object. |
... |
Further arguments passed to methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.