Learn R Programming

mtconnectR (version 0.2.0)

getDataItem,MTCCycle,numeric-method: Get one or more data items from the MTCCycle or MTCDevice using a numeric index

Description

Get one or more data items from the MTCCycle or MTCDevice using a numeric index

Usage

## S3 method for class 'MTCCycle,numeric':
getDataItem(.Object, pattern)

Arguments

.Object
object of MTCCycle or MTCDevice Class
pattern
numeric index/indices of the data item to be queried

Examples

Run this code
data("example_mtc_device")
getDataItem(example_mtc_device, 1:2)

Run the code above in your browser using DataLab