| var_all | R Documentation |
Create a new variable which is true if all of the variables in a list of variables are true.
var_all(newvr, vrs)
newvr |
name of the new variable to be created |
vrs |
vector of logical variables |
Survey object
Other variables:
var_any(),
var_case(),
var_collapse(),
var_copy(),
var_cross(),
var_cut(),
var_not()
set_survey(namcs2019sv)
var_all("Medicare and Medicaid", c("PAYMCARE", "PAYMCAID"))
tab("Medicare and Medicaid")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.