Description Usage Arguments Value Author(s) See Also Examples
This function takes a data.frame from create.ts and returns a data.frame of missing data runs.
1 | NA.runs(TS)
|
TS |
output from |
Returns a data.frame with the following columns:
Start - Date of the start of the missing data period
End - Date of the end of the missing data period
Duration - number of days in the missing data period
Jennifer Dierauer
create.ts
to create input, NA.sum
to sum the
the missing data occurrences by year or month.
1 2 3 4 | data(caniapiscau)
cania.sub <- caniapiscau[300:1200,]
cania.ts <- create.ts(cania.sub)
res <- NA.runs(cania.ts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.