Description Usage Arguments Examples
Simulate observations from parameters of a fitted object.
1 | simulate_fit(fit, esttype = "median", UseFittedLV = TRUE)
|
fit |
A runjags fitted object created by |
esttype |
Specifies parameter set to extract from fit, see |
UseFittedLV |
Logical. If TRUE, the simulation uses fitted latent variable values. If FALSE, latent variable values will be simulated for each ModelSite |
1 2 3 | fit <- readRDS("./tmpdata/deto_wind.rds")
fit$data <- as_list_format(fit$data)
detected <- simulate_fit(fit, esttype = "median", UseFittedLV = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.