Learn R Programming

RSMET (version 1.3.8)

fields: Extract the fields of a smet-class object

Description

The method as.smet coerces an object or a charachter string to a SMET. If the object is

fields

fields

Usage

fields(object, ...)

fields(object, ...)

# S4 method for smet fields(object, ...)

Arguments

object

the object

...

further arguments

Examples

Run this code
# NOT RUN {

df <- data.frame(a=1:6,c=1:6)
fields(df)

x <- smet(system.file('examples/PIEM001114.smet',package="RSMET"))
fields(x)





# }

Run the code above in your browser using DataLab