make_well_ts | R Documentation |
Takes a dataframe with monthly values and creates a full time series, interpolating missing values.
make_well_ts(df, trim = TRUE, head = 0.1, tail = 0.9, n_consec = 4)
df |
A monthly dataframe created by 'monthlyValues'. Must minimally include fields ‘EMS_ID', 'Well_Num' 'Date', ’med_GWL', 'nReadings' |
trim |
Should leading and trailing missing values in be removed? See [trim_cons_runs()]. |
head |
(Proportion between 0 and 1, default = 0.1) The beginning portion of the vector in which to look for consecutive missing values |
tail |
(Proportion between 0 and 1, default = 0.9) The end portion of the vector in which to look for consecutive missing values |
n_consec |
The number of consecutive values which constitutes a 'long' run (default = 4) |
A full monthly time series with interpolated missing values, retaining all of the columns in the original data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.