View source: R/showLinePlotsWithTarget.R
showLinePlotsWithTarget | R Documentation |
Shows line plots of a variable with additional target data.
showLinePlotsWithTarget(data, vars, scales = "free_y", color.dim.name = NULL)
data |
A quitte object or an object that can be transformed into a quitte object. |
vars |
A character vector. Usually just a single string. The variables to be plotted. |
scales |
A single string. choose either |
color.dim.name |
name for the color-dimension used in the legend |
Creates a line plot showing single line plot of vars over time. Additionally
target values given in variables of the form <vars>|target|<sth>
are
shown. The plot is shown.
NULL
is returned invisible.
## Not run:
data <- as.quitte(data)
showLinePlotsWithTarget(data, "Emi|GHG")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.