Lenses for stype vectors

stype_df_l(predicate)

binary_l

continuous_l

continuous_nonneg_l

count_l

nominal_l

ordered_l

proportion_l

rcensored_l

covariate_l

censoring_l

competing_l

exposure_l

identifier_l

index_l

intermediate_l

other_l

outcome_l

weight_l

constant_l

not_constant_l

tagged_l

not_tagged_l

tag_l(tag)

any_tags_l(tags)

all_tags_l(tags)

only_tags_l(tags)

data_summary_l

auto_compute_summary_l

extra_descriptors_l

vec_data_l

context_l

internal_name_l

extra_descriptors_l

derivation_l

short_label_l

long_label_l

description_l

security_type_l

purpose_l

study_role_l

tags_l

Format

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

An object of class lens of length 2.

Arguments

predicate

a predicate function to apply to each element of the list (or each column of a data.frame)

tag

a length 1 character vector

tags

a character vector of tags

Functions

  • stype_df_l: Creates a lens for stype variables with a list-like structure

  • binary_l: view/set v_binary stype vectors

  • continuous_l: view/set v_continuous stype vectors

  • continuous_nonneg_l: view/set v_continuous_nonneg stype vectors

  • count_l: view/set v_count stype vectors

  • nominal_l: view/set v_nominal stype vectors

  • ordered_l: view/set v_ordered stype vectors

  • proportion_l: view/set v_proportion stype vectors

  • rcensored_l: view/set v_rcensored stype vectors

  • covariate_l: view/set stype vectors with covariate role

  • censoring_l: view/set stype vectors with censoring role

  • competing_l: view/set stype vectors with competing role

  • exposure_l: view/set stype vectors with exposure role

  • identifier_l: view/set stype vectors with identifier role

  • index_l: view/set stype vectors with index role

  • intermediate_l: view/set stype vectors with is_intermediate role

  • other_l: view/set stype vectors with other role

  • outcome_l: view/set stype vectors with outcome role

  • weight_l: view/set stype vectors with weight role

  • constant_l: view/set constant stype vectors

  • not_constant_l: view/set not constant stype vectors

  • tagged_l: view/set stype vectors where is_tagged is TRUE

  • not_tagged_l: view/set stype vectors where is_not_tagged is TRUE

  • tag_l: view/set stype vectors where has_tag is TRUE

  • any_tags_l: view/set stype vectors where has_any_tags is TRUE

  • all_tags_l: view/set stype vectors where has_all_tags is TRUE

  • only_tags_l: view/set stype vectors where has_only_tags is TRUE

  • data_summary_l: view/set the data_summary object of a stype vector

  • auto_compute_summary_l: view/set the auto_compute_summary inddicator of a stype vector

  • extra_descriptors_l: view/set the extra_descriptors inddicator of a stype vector

  • vec_data_l: view/set the vec_data of a stype. Casts to the original type when set.

  • context_l: view/set the context of a stype.

  • internal_name_l: view/set the internal_name of a stype.

  • extra_descriptors_l: view/set the extra_descriptors of a stype.

  • derivation_l: view/set the derivation slot of a stype context.

  • short_label_l: view/set the short_label slot of a stype context.

  • long_label_l: view/set the long_label slot of a stype context.

  • description_l: view/set the description slot of a stype context.

  • security_type_l: view/set the security_type slot of a stype context.

  • purpose_l: view/set the purpose slot of a stype context.

  • study_role_l: view/set the study_role slot of a stype context's purpose.

  • tags_l: view/set the tags slot of a stype context's purpose.