col_vals: Base filter method based on the class of column

View source: R/conditional_filter-utils.R

col_valsR Documentation

Base filter method based on the class of column

Description

Base filter method based on the class of column

Usage

col_vals(col, expr, env, remove_na = FALSE, update = FALSE)

## S3 method for class 'numeric'
col_vals(col, expr, env, remove_na = FALSE, update = FALSE)

## S3 method for class 'character'
col_vals(col, expr, env, remove_na = FALSE, update = FALSE)

## S3 method for class 'factor'
col_vals(col, expr, env, remove_na = FALSE, update = FALSE)

## S3 method for class 'logical'
col_vals(col, expr, env, remove_na = FALSE, update = FALSE)

Arguments

col

Column of a dataframe.

expr

The expression of param col.

env

The original environment of param col.

remove_na

Remove NA's.

update

Logical indicating whether ui controllers are ui- or server-side for updating the controllers ranges.

Value

List containing the ingredients to build a Shiny controller.


MartinSchobben/shinymods documentation built on June 7, 2022, 4:38 p.m.