#' Parameter for the moving window size
#'
#' Used in `recipes::step_window()`.
#'
#' @inheritParams Laplace
#' @examples
#' window_size()
#' @export
window_size <- function(range = c(3L, 11L), trans = NULL) {
new_quant_param(
type = "integer",
range = range,
inclusive = c(TRUE, TRUE),
trans = trans,
label = c(window_size = "Window Size"),
finalize = NULL
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.