Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

  • imu: Access imu object properties

Author(s)

James Balamuta


simts

Time Series Analysis Tools

v0.1.1
AGPL-3 | file LICENSE
Authors
Stéphane Guerrier [aut, cre, cph], James Balamuta [aut, cph], Roberto Molinari [aut, cph], Justin Lee [aut], Yuming Zhang [aut], Wenchao Yang [ctb], Nathanael Claussen [ctb], Yunxiang Zhang [ctb], Christian Gunning [cph], Romain Francois [cph], Ross Ihaka [cph], R Core Team [cph]
Initial release
2019-07-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.