Description Usage Arguments Value Examples
Plotting data.frame using ggplot
1 2 |
df |
A data.frame to plot |
titlestr |
(optional) Title of plot as string |
ylabstr |
(optional) Y-axis label as string |
ylim |
(optional) y-axis limits as [1,2] numeric, passed on to dfplot() as 'ylim' |
color |
(optional) Input for manual color scale |
linetype |
(optional) Input for manual linetype scale |
logy |
(optional) Should y-axis be logarithmic? A boolean value. |
Returns a ggplot2 object
1 2 3 4 5 | ## Not run:
dc <- create_syn_data_toy()
ggplot_df(dc$data[[1]])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.