#' @note A SMET-class object can be created by a SMET file trough smet or can be coerced from another type object through as.smet.
or returned by the function smet
See Also
smet,as.smet,print.smet
smet-class
Examples
showClass("smet")
as.smet("test")
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(RSMET)
Loading required package: stringr
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RSMET/smet-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: smet-class
> ### Title: smet-class
> ### Aliases: smet-class
> ### Keywords: classes
>
> ### ** Examples
>
>
> showClass("smet")
Class "smet" [package "RSMET"]
Slots:
Name: signature header data file
Class: character list data.frame character
>
> as.smet("test")
SMET 1.1 ASCII
[HEADER]
station_id = test_station
latitude = 46.5
longitude = 9.8
altitude = 1500
nodata = -999
tz = +01
fields = timestamp TA RH VW ISWR
units_offset = 0 273.15 0 0 0
units_multiplier = 1 1 0.01 1 1
[DATA]
2010-06-22T12:00:00 2.0 52 1.2 320
2010-06-22T13:00:00 3.0 60 2.4 340
2010-06-22T14:00:00 2.8 56 2.0 330
>
>
>
>
>
>
> dev.off()
null device
1
>