Description Usage Arguments Details Value Examples
View source: R/create_flagged_dataset.R
This takes a data set generated by get_weather_data (or any of the snowload2::get_x_data functions), and flags points which were found to be outliers during the national snow load project in 2020, or have a QFLAG problem.
1 | create_flagged_dataset(data, date_max = base::as.Date("2020-8-1"))
|
data |
the data set which is to be flagged |
date_max |
Date object, observations after this date will be removed |
Since outliers were only flagged up to the date 2020-8-1, the default date_max is set to this. This way observations after this point wont be marked as non-outliers when they haven't been checked. It is advised to leave this date as it is.
0 means not an outlier, 1 means outlier
data frame which has
1 2 | # UT <- get_weather_data("UT")
# UT_flagged <- create_flagged_dataset(UT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.