Description Usage Arguments Functions
Plot Estimated Latent Variables Against Covariates
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | plot_LVvscovar.fit(
fit,
esttype = "median",
theta = NULL,
covar,
facetvars = NULL,
cuts = 3,
aggregatefcn = mean
)
plotdf_LVvscovar.fit(
fit,
esttype = "median",
theta = NULL,
covar,
aggregatefcn = mean
)
|
fit |
A fitted runjags object. |
esttype |
When fit is non-NULL, then esttype is used to extract parameter values |
theta |
a vector of model parameters with BUGS names |
covar |
a dataframe of covariate values. It must have a column labelled 'ModelSite' that gives the ModelSite of covariate value. |
aggregatefcn |
Rows in covar with duplicate ModelSite values are aggregrated using this function |
plot_LVvscovar.fit
: Plot estimated latent variable values against covariate values for occupancy
plotdf_LVvscovar.fit
: Prepare plotting data frames for latent variable values against covariate values for occupancy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.