Learn R Programming

forceR (version 1.0.20)

plot_measurement: Plot raw measurement

Description

Plots a time series.

Usage

plot_measurement(file, columns = c(1:2))

Value

Creates a plot in the current plot device.

Arguments

file

File path to measurement.

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):

ty
t.1y.1
......
t.ny.n

Examples

Run this code
filename = forceR_example(type = "raw")
plot_measurement(filename)

Run the code above in your browser using DataLab