has: Obtain the value of an object's properties

Description Usage Arguments Details Value Methods (by class) Author(s)

View source: R/utilities.R

Description

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

Usage

1
2
3
4
has(x, type)

## S3 method for class 'imu'
has(x, type)

Arguments

x

A gts, imu, or lts object.

type

A string indicating the field to be retrieved.

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

Value

The method will return a single TRUE or FALSE response

Methods (by class)

Author(s)

JJB


SMAC-Group/gmwm documentation built on Sept. 11, 2021, 10:06 a.m.