We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sliding_*()
Total
Should total refer only to those observations used in analysis and assessment set?
library(rsample) data("Chicago", package = "modeldata") index <- vctrs::new_date(c(1, 3, 4, 7, 8, 9, 13, 15, 16, 17)) df <- tibble::tibble(x = 1:10, index = index) sliding_window(df, lookback = 2, assess_stop = 2) |> get_rsplit(1) #> <Analysis/Assess/Total> #> <3/2/10> sliding_index(df, index, lookback = 2, assess_stop = 2) |> get_rsplit(1) #> <Analysis/Assess/Total> #> <2/1/10> sliding_period( Chicago, date, "year", lookback = 2, assess_stop = 1 ) |> get_rsplit(1) #> <Analysis/Assess/Total> #> <1074/366/5698>
Created on 2024-05-19 with reprex v2.1.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Should total refer only to those observations used in analysis and assessment set?
Created on 2024-05-19 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: