sm_selected: Check if select_multiple choices were selected

Description Usage Arguments Details Value

Description

Check if select_multiple choices were selected

Usage

1
sm_selected(x, any = NULL, all = NULL, exactly = NULL, none = NULL)

Arguments

x

a vector of select multiple responses, with choices separated by spaces

any

TRUE if any of the values supplied here as a vector were selected

all

TRUE if all of the values supplied here as a vector were selected

exactly

TRUE if exactly all of the values supplied here as a vector were selected (an no others)

any

TRUE if none of the values supplied here as a vector were selected

Details

only supply one of any/all/exactly/any

Value

a logical vector, same length as x


mabafaba/composr documentation built on June 10, 2019, 8:17 a.m.