Learn R Programming

gmwm (version 2.0.0)

has: Obtain the value of an object's properties

Description

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

Usage

has(x, type)
"has"(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 TRUE or FALSE response

Methods (by class)

  • imu: Access imu object properties

Details

To access information about imu properties use:
"accel"
Returns whether accelerometers have been specified

"gyro"
Returns whether accelerometers have been specified

"sensors"
Returns whether there exists both types of sensors