show_total_effect | R Documentation |
Plot combined effect of weather on time
show_total_effect(
covariates = macro$cov.weather,
forecast = FALSE,
CI_large = TRUE,
hlines = TRUE,
draws_max = NULL,
choose_age = FALSE,
choose_c = NULL,
average_c = FALSE,
average_age = FALSE,
smooth = FALSE,
show_covariate = FALSE,
absoluteR = FALSE,
return.df = FALSE,
...
)
forecast |
standard FALSE, if TRUE takes weather variables for whole year and averages for each day in year |
hlines |
adds hline at zero |
draws_max |
maximum number of draws from posterior for speed, standard 100 |
choose_age |
subset of ages to look at |
choose_c |
subset of units (countries) to look at |
average_c |
show all results or only average for all countries |
... |
further parameters for extract_mcmc |
grid |
return grid with name on age instead of standard which is one single plot for each name |
model |
standard FALSE, if TRUE uses linear model, if FALSE uses kernel sieve |
wrap |
if TRUE uses wrap instead of grid plotting ages in one plot |
dim_names |
dimension names for effects standard age with m for covariate |
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.