area: Fit a background and calculate the area between to points

Description Usage Arguments See Also

View source: R/areas.R

Description

Fit a background and calculate the area between to points

Usage

1
area(df, sw, x1, x2, p = 3, span = 0.05)

Arguments

df

Data from [echem_read()]

sw

The sweep number to be used

x1

Limit of integration (lower). Must be smaller than x2.

x2

Limit of integration (upper). Must be larger than x1.

p

Degree of polynomial used as background

span

Width of the window used for fitting at either end of the background polynomial. Defaults to 50 mV.

See Also

Other area functions: plot_area


SPOMAN/osc documentation built on May 14, 2019, 7:41 a.m.