has: Obtain the value of an object's properties

View source: R/utilities.R

hasR Documentation

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 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)

  • has(imu): Access imu object properties

Author(s)

James Balamuta


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.