Description Usage Arguments Value Examples
Read an ascii Veeco file.
Reads an ascii Veeco file with one or two segments.
1 | afmReadVeeco(filename, path = "")
|
filename |
String with the name of the jpk file. |
path |
Path to the folder where the file is. |
A list containing a field 'data' which is a data frame
1 2 | data <- afmReadVeeco("veeco_file.txt.gz",path = path.package("afmToolkit"))
str(data)
|
Loading required package: ggplot2
Veeco file veeco_file.txt.gz loaded.
List of 2
$ data :'data.frame': 13312 obs. of 4 variables:
..$ Time : num [1:13312] 0 0.000173 0.000346 0.000519 0.000692 ...
..$ Z : num [1:13312] 5.4e-07 5.4e-07 5.4e-07 5.4e-07 5.4e-07 ...
..$ Force : num [1:13312] -1.82e-09 -1.82e-09 -1.82e-09 -1.80e-09 -1.85e-09 ...
..$ Segment: Factor w/ 2 levels "approach","retract": 1 1 1 1 1 1 1 1 1 1 ...
$ params:List of 2
..$ SpringConstant: num 0.0744
..$ curvename : chr "veeco_file.txt.gz"
- attr(*, "class")= chr "afmdata"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.