afmReadJPK function

Read Nanowizard JPK ascii file

Read Nanowizard JPK ascii file

Read an ascii JPK file.

Reads an ascii JPK file with one to three headers.

afmReadJPK(filename, path = "", FColStr = "Vertical", ZColStr = "Height (measured & smoothed)", tColStr = "Segment Time")

Arguments

  • 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.

Returns

A list containing a field 'data' which is a data frame

Examples

data <- afmReadJPK("force-save-JPK-3h.txt.gz",path = path.package("afmToolkit")) str(data)
  • Maintainer: Rafael Benitez
  • License: GPL
  • Last published: 2017-04-03

Useful links