Learn R Programming

afmToolkit (version 1.0.0)

summary.afmdata: Summary of an afmdata class object.

Description

This function sumarizes the main features of an afmdata object and, optionnaly plots all segments available with all parameters estimated.

Usage

# S3 method for afmdata
summary(object, plt = TRUE, ...)

Arguments

object

An object of afmdata class.

plt

Logical variable. If TRUE plots all available segments with all available data.

...

Additional arguments (for compatibility with summary)

Examples

Run this code
if (FALSE) path <- path.package("afmToolkit")
data <- afmReadJPK("force-save-JPK-3h.txt.gz", path = path)
data <- afmContactPoint(data, width = 20, mul1 = 1, mul2 = 10)
data <- afmDetachPoint(data, width = 20, mul1 = 2, mul2 = 30)
data <- afmBaselineCorrection(data)
data <- afmAdhesionEnergy(data, width = 20, mul = 10)
data <- afmZeroPointSlope(data, segment = "approach")
data <- afmIndentation(data)
data <- afmYoungModulus(data, thickness = 1e-7, params = list(alpha = 22),
                        silent = TRUE)
data <- afmExpDecay(data, nexp = 2, type = "CH")
summary(data)                        

Run the code above in your browser using DataLab