load_single {forceR}R Documentation

Load single measurement

Description

Loads a single measurement.

Usage

load_single(filename, columns = c(1:2))

Arguments

filename

Character string containing the path to measurement file.

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: c(1,2).

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

A tibble with two columns named "t" and "y".

Examples

# Store filename
filename <- forceR_example(type="raw")

df.1 <- load_single(filename,
                    columns = c(1:2))


[Package forceR version 1.0.20 Index]