Learn R Programming

gmwm (version 2.0.0)

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)
"value"(x, type)

Arguments

x
A gts, imu, or lts object.
type
A string indicating the field to be retrieved.

Value

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

Methods (by class)

  • imu: Access imu object properties

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