Learn R Programming

simts (version 0.2.2)

value: Obtain the value of an object's properties

Description

Used to access different properties of the gts, imu, or lts object.

Usage

value(x, type)

# S3 method for imu value(x, type)

Value

The method will return a single numeric or string result depending on the slot being accessed.

Arguments

x

A gts, imu, or lts object.

type

A string indicating the field to be retrieved.

Methods (by class)

  • value(imu): Access imu object properties

Author

James Balamuta

Details

To access information about imu properties use:

"accel"

Returns the number of accelerometers

"gyro"

Returns the number of gyroscopes

"sensors"

Returns total number of sensors