get_specificSensor: Extract sepcific sensor from data

Description Usage Arguments Examples

Description

Extract sepcific sensor from data

Usage

1
get_specificSensor(data, sensorName)

Arguments

data

data.frame (required): data.frame from execute_file or execute_TCP.

sensorName

character (required): Which sensor should be extracted?

Note: Case sensitive

Examples

1
2
3
4
5
6
7
8
9
##=====================================
## Example 1: extract sepcific sensor
##=====================================

file <- system.file("extdata", "short_y_impulse.csv", package="HypeRIMU")

data <- execute_file(file, timestamp = TRUE)

MPL_Linear_Acceleration <- get_specificSensor(data, "MPL_Linear_Acceleration")

JohannesFriedrich/HypeRIMU documentation built on May 14, 2019, 2:39 p.m.