Learn R Programming

simts (version 0.2.2)

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)

# S3 method for imu has(x, type)

Value

The method will return a single TRUE or FALSE response

Arguments

x

A gts, imu, or lts object.

type

A string indicating the field to be retrieved.

Methods (by class)

  • has(imu): Access imu object properties

Author

James Balamuta

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