Plotting data.frame using ggplot

Description

Plotting data.frame using ggplot

Usage

1
2
ggplot_df(df, titlestr = NULL, ylabstr = NULL, ylim = NULL,
  color = NULL, linetype = NULL, logy = F)

Arguments

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.

Value

Returns a ggplot2 object

Examples

1
2
3
4
5
## Not run: 
dc <- create_syn_data_toy()
ggplot_df(dc$data[[1]])

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.