HypeAttrAccess {HYPEtools} | R Documentation |
Quickly query and set HYPE-specific attributes
Description
These are simple convenience wrapper functions to quickly query and assign values of attributes which are added to HYPE data on import.
Usage
datetime(x)
datetime(x) <- value
hypeunit(x)
hypeunit(x) <- value
obsid(x)
obsid(x) <- value
outregid(x)
outregid(x) <- value
subid(x)
subid(x) <- value
timestep(x)
timestep(x) <- value
variable(x)
variable(x) <- value
Arguments
x |
Object whose attribute is to be accessed |
value |
Value to be assigned |
Details
These functions are just shortcuts for attr
.
Value
The extractor functions return the value of the respective attribute or NULL
if no matching attribute is found.
Examples
te <- ReadBasinOutput(filename = system.file("demo_model", "results",
"0003587.txt", package = "HYPEtools"))
hypeunit(te)
timestep(te)
subid(te)
[Package HYPEtools version 1.6.2 Index]