View source: R/fPlot_Line_Single.R
This simple ggplot function takes the name of an x-axis column and a y-axis column and plots a line chart. Function is primarily used to create composite charts while keeping the theme choices consistent.
1 | fPlot_Line_Single(dat, xcol, ycol)
|
dat |
a dataframe containing your 'x' and 'y' variables of interest |
xcol |
a character object specifying the column name of the x-axis variable |
ycol |
a character object specifying the column name of the x-axis variable |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.