nfd_get_site | R Documentation |
nfd
objects.nfd_get_*()
functions get data from an nfd object in matrix form. If
there is a time component, then the data are returned as an xts matrix.
To extract the data, but keep as an nfd
object, see nfd_extract()
.
nfd_get_site(x, site, flow_space, time_step)
nfd_get_trace(x, trace, flow_space, time_step)
nfd_get_time(x, time, flow_space, time_step)
x |
An |
site |
Site name or index. |
flow_space |
"total" or "intervening" |
time_step |
"annual" or "monthly" |
trace |
Trace number (numeric scalar) |
time |
Time to extract as |
nfd_get_site()
returns the data for all traces for one specified site
.
nfd_get_trace()
returns the data for all sites for one specified trace
.
nfd_get_time()
returns the data for all sites and all traces for the
specified time
. To get annual data, must specify December or September of
the desired year for calendar year or water year data, respectively.
nfd_get_site()
returns an xts
object with columns representing
different traces.
nfd_get_trace()
returns an xts
object with columns representing
different sites.
nfd_get_time()
returns a matrix with columns representing
different sites and rows representing different traces.
nfd_extract()
, nfd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.