powered by
This function takes a data.frame from create.ts and returns a data.frame of missing data runs.
NA.runs(TS, quiet = FALSE)
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
data.frame of streamflow time series loaded with read.flows.
read.flows
A boolean to indicate message printing.
Jennifer Dierauer
create.ts to create input, NA.count.runs to sum the the missing data occurrences by year or month.
create.ts
NA.count.runs
data(caniapiscau) cania.sub <- caniapiscau[300:1800,] cania.ts <- create.ts(cania.sub) res <- NA.runs(cania.ts) print(res)
Run the code above in your browser using DataLab