make_slider_input_years: make_slider_input_years creates a shiny sliderInput() widget...

View source: R/fct_helpers.R

make_slider_input_yearsR Documentation

make_slider_input_years creates a shiny sliderInput() widget based on a vector of two years

Description

make_slider_input_years creates a shiny sliderInput() widget based on a vector of two years

Usage

make_slider_input_years(id, years, ...)

Arguments

id

the widget inputId, passed with a ns() to avoid namespace conflicts if inside a module

years

a vector of two numeric years to be used as min, max, and default values

...

<data-masking>

Value

a shiny sliderInput widget

Examples

make_slider_input_years(id = "slider1", years = c(2010, 2025))

vdes2020/eneRgyVD documentation built on July 3, 2025, 7:36 p.m.