forceR_example {forceR} | R Documentation |
Get path to forceR example
Description
forceR comes with example files of short bite force measurements.
The files are stored in forceR's
inst/extdata
folder, and this function returns the path to that folder or one of the
files so they can be used in examples.
Usage
forceR_example(type = "folder")
Arguments
type |
A character string (either |
Value
If type = "folder"
: returns the file path to the folder containing
BF_raw.csv
and
BF_ampdriftcorr.csv
.
If type = "LJStream"
: returns the file path
to BF_raw.csv
, which contains a short bite force raw
measurement.
If type = "raw"
: returns the file path
to BF_raw.csv
, which contains a short bite force raw
measurement.
If type = "ampdriftcorr"
: returns the file path
to BF_ampdriftcorr.csv
, which contains a short bite
force raw measurement where the amplifier drift as been corrected for by
the amp_drift_corr() funcion.