| mcmc_plots | R Documentation |
Creates comprehensive plots for HVT-MSM simulation results with minimal code duplication.
mcmc_plots(
simulation_results,
centroid_data,
centroid_2d_points,
actual_data,
state_time_data,
forecast_type,
n_ahead_ante,
type,
raw_dataset,
show_simulation,
mae_metric = mae_metric,
time_column,
trainHVT_results
)
simulation_results |
Data frame with simulation results |
centroid_data |
Data frame with centroid information |
centroid_2d_points |
Data frame with 2D coordinates |
actual_data |
Data frame with actual values |
state_time_data |
Data frame with state-time information |
forecast_type |
Type of forecast ("ex-post" or "ex-ante") |
n_ahead_ante |
Number of ahead steps for ex-ante |
type |
Plot type identifier |
raw_dataset |
Raw dataset for scaling |
show_simulation |
Whether to show simulation lines |
mae_metric |
MAE metric to use |
time_column |
Name of time column |
trainHVT_results |
HVT training results |
List containing all plots and data frames
Vishwavani <vishwavani@mu-sigma.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.