ischecked | R Documentation |
this function is for converting common output of checkbox type variables to something else (e.g. default is converting the word 'Checked' to TRUE, and 'Unchecked' to FALSE)
ischecked(
x,
pos = "Checked",
neg = "Unchecked",
ret_pos = TRUE,
ret_neg = FALSE
)
x |
vector containing a dichotomous 'checked' and 'unchecked' state |
pos |
the positive or affirmative state. default is 'Checked' (case sensitive) |
neg |
the negative state. default is 'Unchecked' |
ret_pos |
what the function returns for a positive instance. default is TRUE |
ret_neg |
what the function returns for a negative instance. default is FALSE |
ischecked_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.