Description Usage Arguments Value Examples
View source: R/afmReadJPKMultiIndent.R
Read an ascii JPK file containing several approach - pause segments and only one retract segment.
1 2 | afmReadJPKMultiIndent(filename, path = "", FColStr = "Vertical",
ZColStr = "Height (measured & smoothed)", tColStr = "Segment Time", silent = FALSE)
|
filename |
String with the name of the jpk file. |
path |
Path to the folder where the file is. |
FColStr |
String with a pattern identifying the Force column. |
ZColStr |
String with a pattern identifying the Z column. |
tColStr |
String with a pattern identifying the Time column. |
A afmdata structure list containing a field 'data' which is a data frame with variables Force, Z, Time (if aplicable) and Segment ("approach", "retract" and/or "pause") and a field 'params' which is a list with the fields 'curvename' and 'SpringConstant'.
1 2 | data <- afmReadJPK("force-save-JPK-3h.txt.gz",path = path.package("afmToolkit"))
str(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.