View source: R/wafR_functions.R
YT_graph_line | R Documentation |
Function for plotting line graphs of clearfell ages from Woodflow model outputs
YT_graph_line(data, Year, value, colourVariable, WAF_form)
data |
Dataframe containing woodflow outputs. This will typically have been produced using e.g. Remsoft Woodstock |
Year |
Column in df containing values for the x-axis |
value |
Column containing values to be plotted on the y-axis. This will typically be volume |
colourVariable |
Variable to use for assigning fill colour to the bar graph |
WAF_form |
Boolean indicating whether plot for WAF reporting or not. Default = TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.