Check a study role
is_study_role(object, what)
# S4 method for purpose
is_study_role(object, what)
# S4 method for `NULL`
is_study_role(object, what)
is_identifier(object)
# S4 method for purpose
is_identifier(object)
is_index(object)
# S4 method for purpose
is_index(object)
is_outcome(object)
# S4 method for purpose
is_outcome(object)
is_censoring(object)
# S4 method for purpose
is_censoring(object)
is_competing(object)
# S4 method for purpose
is_competing(object)
is_exposure(object)
# S4 method for purpose
is_exposure(object)
is_covariate(object)
# S4 method for purpose
is_covariate(object)
is_weight(object)
# S4 method for purpose
is_weight(object)
is_intermediate(object)
# S4 method for purpose
is_intermediate(object)
is_other(object)
# S4 method for purpose
is_other(object)
# S4 method for context
is_study_role(object, what)
# S4 method for stype
is_study_role(object, what)
# S4 method for ANY
is_study_role(object, what)
# S4 method for context
is_identifier(object)
# S4 method for stype
is_identifier(object)
# S4 method for ANY
is_identifier(object)
# S4 method for context
is_index(object)
# S4 method for stype
is_index(object)
# S4 method for ANY
is_index(object)
# S4 method for context
is_outcome(object)
# S4 method for stype
is_outcome(object)
# S4 method for ANY
is_outcome(object)
# S4 method for context
is_censoring(object)
# S4 method for stype
is_censoring(object)
# S4 method for ANY
is_censoring(object)
# S4 method for context
is_competing(object)
# S4 method for stype
is_competing(object)
# S4 method for ANY
is_competing(object)
# S4 method for context
is_exposure(object)
# S4 method for stype
is_exposure(object)
# S4 method for ANY
is_exposure(object)
# S4 method for context
is_covariate(object)
# S4 method for stype
is_covariate(object)
# S4 method for ANY
is_covariate(object)
# S4 method for context
is_weight(object)
# S4 method for stype
is_weight(object)
# S4 method for ANY
is_weight(object)
# S4 method for context
is_intermediate(object)
# S4 method for stype
is_intermediate(object)
# S4 method for ANY
is_intermediate(object)
# S4 method for context
is_other(object)
# S4 method for stype
is_other(object)
# S4 method for ANY
is_other(object)
an object
what to role to look for