convert_measurement {forceR} | R Documentation |
Converts LJStream *.dat file to standard time series.
Description
Converts LJStream *.dat file to standard time series.
Usage
convert_measurement(file, path.data = NULL, collect_garbage = FALSE)
Arguments
file |
File path to raw measurement (*.dat file). |
path.data |
A string character defining where to save the results. If |
collect_garbage |
Logical. If |
Value
Returns and, if path.data is not NULL
, saves data in
csv-format in path.data
.
The output tibble has the following format:
t | y |
|
t.1 | y.1 |
|
... | ... |
|
t.n | y.n |
|
Examples
# get file path of forceR example file
filename <- forceR_example(type = "LJStream")
file.converted <- convert_measurement (file = filename,
path.data = NULL)
file.converted
[Package forceR version 1.0.20 Index]