Indicates whether each subject has any or all of the variables contained within a set
Source:R/define-cases.R
dh.defineCases.Rd
This function allowed you to describe whether a had non-missing values for a set of variables. It
was depricated because you can now use dsTidyverseClient::ds.filter()
to create a subset
of a data frame matching multiple conditions.
Usage
dh.defineCases(
df = NULL,
vars = NULL,
type = NULL,
new_obj = NULL,
conns = NULL,
checks = FALSE,
newobj = NULL
)
Arguments
- df
Character specifying a server-side data frame.
- vars
Character vector of columns within
df
to form definition set.- type
Character specifying how to define cases. Use "any" to describe subjects with data on any of
vars
, and "all" to describe subjects with data on all of `vars.- new_obj
Character specifying name for created serverside object.
- conns
DataSHIELD connections object.
- checks
Logical; if TRUE checks are performed prior to running the function. Default is TRUE.
- newobj
Retired argument name. Please use `new_obj' instead.