plot_polcurve: Plot polarization curves

Description Usage Arguments Details Value Functions Author(s) See Also

Description

This function takes a data frame with current and voltage data and makes a polarization curve plot

Usage

1
2
3
plot_polcurve(inputdf, xdata = "avgcurrent", ydata = "avgvoltage")

plot_powercurve(inputdf, xdata = "avgcurrent", ydata = "avgpower")

Arguments

inputdf

Data frame with the data to plot.

xdata

Name of the column under which the current data are stored.

ydata

Name of the column under which the voltage/power data are stored.

Details

This function is designed to be used on data frames generated with import_cell_cv. But in reality as long as the data frames have named current, voltage, and power columns, and those columns are named, this function should be able to generate polarization curves from those data frames.

Value

Returns a ggplot polarization curve, which should be manipulable by functions in the ggplot package.

Functions

Author(s)

Mike Gerhardt

See Also

ggplot, import_cell_cv


mikegerhardt/echem documentation built on May 22, 2019, 10:51 p.m.