HypeAttrAccess | R Documentation |
These are simple convenience wrapper functions to quickly query and assign values of attributes which are added to HYPE data on import.
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
x |
Object whose attribute is to be accessed |
value |
Value to be assigned |
These functions are just shortcuts for attr
.
The extractor functions return the value of the respective attribute or NULL
if no matching attribute is found.
te <- ReadBasinOutput(filename = system.file("demo_model", "results",
"0003587.txt", package = "HYPEtools"))
hypeunit(te)
timestep(te)
subid(te)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.