Learn R Programming

mtconnectR (version 1.2.1)

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

# S4 method for 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
# NOT RUN {
data("example_mtc_device")
getDataItem(example_mtc_device, 1:2)
# }

Run the code above in your browser using DataLab