Description Usage Arguments Value
This is a flexible function that will first try to extract the supplied parameter from the header. If the parameter is not found in the header, it will simply return the parameter value that you specified. This allows for addition of parameters that are not included in the nanoscope output, but might be important for a user such as "treatment" "cell#" "material" etc.
1 | afm_extract_param(header, parameter)
|
header |
The AFM file header as a character vector. |
parameter |
The desired parameter. If you are trying to extract a parameter from the header, you must use a character vector that matches exactly (case sensitive) the parameter in the header. ie. "Scan Rate" |
If the parameter was found in the header, it will be returned either as numeric or character. If the parameter was not found in the header, it will be returned as supplied and a warning will be triggered
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.