Compare density of estimated energy with density of real energy vector
Source:R/modelling.R
plot_energy_models.Rd
Compare density of estimated energy with density of real energy vector
Arguments
- energy_models
energy models returned by function
get_energy_models
- nrow
integer, number of rows in the plot grid (passed to
cowplot::plot_grid
)
Examples
# The package evprof provides example objects of connection and energy
# Gaussian Mixture Models obtained from California's open data set
# (see California article in package website) created with functions
# `get_connection models` and `get_energy models`.
# Get the working days energy models
energy_models <- evprof::california_GMM$workdays$energy_models
# Plot energy models
plot_energy_models(energy_models)