afmHysteresis: Hysteresis

Description Usage Arguments Value See Also Examples

View source: R/afmHysteresis.R

Description

Bla bla bal

Usage

1

Arguments

afmdata

A Force-Distance curve with the afmdata structure. It should be a list with at least the 'data' field with a data frame of at least 4 columns.

silent

Logical value. If TRUE omits the name of curve being processed (defaults to FALSE)

...

Extra options to be passed to afmZeroPointSlope function

Value

An afmdata class variable which will consist on the original input afmdata variable plus a new list named Hysteresis with the following fields:

Hyst_app Time hyst app

Hyst_ret Time hyst ret

Hyst_tot Time hyst total

Hyst_ratio Time hyst app/ret ratio

See Also

afmZeroPointSlope

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
path <- path.package("afmToolkit")
data <- afmReadJPK("force-save-JPK-3h.txt.gz", path = path)
width <- 20
mul1 <- 1
mul2 <- 10
data <- afmContactPoint(data, width = width, mul1 = mul1, mul2 = mul2)
## Not run: 
plot(data, segment = "approach") + geom_vline(xintercept = data$CP$CP, lty = 2)

## End(Not run)

rbensua/afmToolkit documentation built on Dec. 1, 2020, 2:14 a.m.