| setCov<- | R Documentation |
setCov(fit) <- value installs the covariance carried by value
as the fit's covariance, the way setCov(fit, method) installs one it
computes: the matrix is checked for positive definiteness, the standard
errors are refreshed, and the prior covariance is kept in
fit$covList. The options that produced value are recorded
too, so a later setCov(fit, method, control = ...) reuses it only
when the options it asks for are the same.
setCov(fit, method = NULL, ...) <- value
fit |
nlmixr2 fit |
method |
covariance-method name to install |
... |
passed to |
value |
a covariance matrix named like |
value is dispatched on through setCovValue(): a covariance
matrix is installed as method (default "user") with no
options, and other packages add methods for their own results (for example
a SIR run), returning the matrix, the method name and the options.
the fit, with its covariance updated
Matt Fidler
setCov(), setCovOptions()
## Not run:
setCov(fit) <- fit$cov * 2
setCov(fit, "doubled") <- fit$cov * 2
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.