load_mult {forceR} | R Documentation |
Load Multiple Measurements
Description
Loads multiple measurements.
Usage
load_mult(folder, columns = c(1:2), show.progress = FALSE)
Arguments
folder |
Character string containing the path to the measurements. |
columns |
A vector of column numbers. The first entry will be used as the x-axis values, the second entry as y-axis values.
All other columns will be ignored. Default: |
show.progress |
A logical value indicating if progress should be
printed to the console. Default: |
Details
The input files need to be in the following format (even though column names do not matter):
t | y |
t.1 | y.1 |
... | ... |
t.n | y.n |
All columns except the first two are removed.
Value
Returns a tibble in the format
t | y | filename |
t.1 | y.1 | ... |
... | ... | ... |
t.n | y.n | ... |
Examples
# store name of folder that contains files
input.folder <- forceR_example(type = "folder")
# load a mutiple files
df.all <- load_mult(folder = input.folder,
columns = c(1:2),
show.progress = FALSE)
[Package forceR version 1.0.20 Index]