View source: R/plot_sim_vs_fitted.R
plot_sim_vs_fitted | R Documentation |
Plot the fitted model parameters vs. simulated model parameters
plot_sim_vs_fitted(
out,
X,
beta,
W,
alpha,
base_size = 12,
file = NULL,
width = 16,
height = 9
)
out |
The output from |
X |
The simulated regression covariates |
beta |
The simulated regression coefficients |
W |
The simulated spatial basis functions |
alpha |
The simulated spatial basis coefficients |
base_size |
The base size for the plot |
file |
If |
width |
If a file path is specified, |
height |
If a file path is specified, |
Either a ggplot object of the fitted vs. simulated parameter values (if file = NULL
) or a saved image file with no return (file
is not NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.