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 c4c_base_result

plot_type

Character string, specifies the kind of diagram to be plotted. The options are:

  • "em_by_type": The CO2 emissions by operation type (cutting, moving, forest road maintenance) over time

  • "fl_by_type": The fuel consumption by operation type (cutting, moving, forest road maintenance) over time

  • "em_by_phase": The CO2 emissions by stand development phase over time, not including forest road maintenance

  • "fl_by_phase": The fuel consumption by stand development phase over time, not including forest road maintenance

  • "em_vs_inc": The CO2 emissions plotted against the wood increment (in CO2 equivalents)

  • "em_vs_hrv": The CO2 emissions plotted against the harvest (in CO2 equivalents)

  • "em_inc_ratio": The ratio of all CO2 emissions and the wood increment (in CO2 equivalents) over time

...

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"


[Package care4cmodel version 1.0.1 Index]