Description Usage Arguments Value
View source: R/find_adj_date.R
Find the the date which needs to be adjusted further
1 | find_adj_date(data, vars = c("date", "y"), lambda = 1.5, weekday.sep = FALSE)
|
data |
A data frame. |
vars |
The column name of the data frame, date and "distance". |
lambda |
A number. See |
weekday.sep |
A logical value indicating whether find outliers separately by weekdays |
A list contains two data frame. One is date with fixed date, and the other one is the date with fixed weekday. In the fixed date data frame, which is called fixD.dat
, there are three columns and they are the month of a year, the day of the month, and number of times the date has been treated as an outlier. In the fixed weekday data frame, which is called fixWD.dat
, there are four columns and they are the month of a day, the nth week of the month, the weekday of the weekday, and the number of times such day has been treated as an outlier.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.