plot.c4c_co2_result {care4cmodel} | R Documentation |
Plot Function for c4c_co2_result Objects
Description
Plot Function for c4c_co2_result Objects
Usage
## S3 method for class 'c4c_co2_result'
plot(
x,
plot_type = c("em_by_type", "fl_by_type", "em_by_phase", "fl_by_phase", "em_vs_inc",
"em_vs_hrv", "em_inc_ratio"),
...
)
Arguments
x |
Object of class |
plot_type |
Character string, specifies the kind of diagram to be plotted. The options are:
|
... |
Other parameters; currently not used |
Value
A ggplot object
Examples
sim_co2_out <- simulate_single_concept(
pine_thinning_from_above_1,
init_areas = c(1000, 0, 0, 0, 0, 0),
time_span = 200,
risk_level = 3
) |>
fuel_and_co2_evaluation(road_density_m_ha = 35, mode = "nordic")
# Make a plot
plot(sim_co2_out, plot_type = "em_by_type")
# Also try the plot types "fl_by_type", "em_by_phase", "fl_by_phase",
# "em_vs_inc", "em_vs_hrv", "em_inc_ratio"