Learn R Programming

RSMET (version 1.3.8)

[.smet: [ S3 method for smet-class object

Description

[ S3 method for smet-class object

Usage

# S3 method for smet
[(x, rows = "all", fields = "all", file = NA,
  date.field = "timestamp", ...)

Arguments

x

a smet-class object

rows

rows of the x data which will be returned.

fields

column number or fields of x which will be returned.

file

file of the new returened smet-class. Default is NA.

date.field

field name of the Date and Time variable. Default is "timestamp". If it is not NA, it is always returned.

...

further argument for [ method

Examples

Run this code
# NOT RUN {
x <- smet(system.file('examples/PIEM001114.smet',package="RSMET"))
x[,1:3]


# }

Run the code above in your browser using DataLab