Description Usage Arguments Details Value Author(s) See Also
This function takes a data frame with charge and discharge capacity data and makes a plot of these capacities versus cycle number. Useful for qualitative investigations of capacity fade.
1 | plot_capacities(inputdf, xdata = "Cycle", ydata = "Charge")
|
inputdf |
Data frame with the data to plot. Should be a data frame made
with |
xdata |
Name of the column under which the cycle numbers are stored. |
ydata |
Name of the column under which the charge/discharge capacities are stored. |
This function should only be used on data frames generated with
import_cycling_stats
as it will probably fail otherwise. It assumes
that the Type column exists in the input data frame and colors the plot by
Type. The function will return a ggplot, which can be further edited through
any of the ggplot methods.
Returns a ggplot object plotting charge/discharge capacity versus cycle number.
Mike Gerhardt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.