Description Usage Arguments Value Author(s) See Also Examples
Counts the number of missing data points by calendar year, hydrologic year, or month
1 |
input |
output from |
by |
character string identifying the time period to summarize by. Defaults is hydrologic year ("hyear"), other choices are "year" and "month". The "month" option will return the number of missing data points for each month in the time series. |
hyrstart |
optional argument, define start month of hydrologic year |
Returns a numeric vector of the number of missing observations per summary period. The "times" attribute of the returned vector provides the corresponding year, hyear, or month.
Jennifer Dierauer
1 2 3 4 5 | data(caniapiscau)
cania.sub <- caniapiscau[300:1200,]
cania.ts <- create.ts(cania.sub)
res <- NA.runs(cania.ts)
res2 <- NA.sum(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.