Description Usage Arguments Details
Create graph of historical data.
1 | historicalPlot(data, mapping, facet_formula, line_types)
|
data |
a data frame containing data to be plotted. |
mapping |
the argument to the geom_line function. Use for setting, x, y, color, among other things: mapping=aes(x=scale, y=lambda, color=country) |
facet_formula |
a formula of the form |
line_types |
is a vector of linetype identifiers to be applied as the line types for the |
This function returns a figure with facets specified by facet_formula
and various lines specified by line_formula
.
You may have to use the package reshape2
to "melt" your data to the correct form before passing
it to this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.