profile_check: Check for existiance of profiles in a hop object

Description Usage Arguments Value See Also Examples

Description

Checks for existiance of profiles in a hop object

Usage

1
profile_check(hop, profiles, error = FALSE)

Arguments

hop

An object of class hop or face.

profiles

A character vector of the names of the profiles to check for.

error

Logical indicating whehter or not an error should be thrown if any profiles in profiles are not found.

Value

A logical vector the same length as profiles indicating whether each profile is found in hop.

See Also

Other hisafe helper functions: copy_hisafe_template(), get_pheno_dates(), get_pruning_dates(), hip_params(), hisafe_info(), hisafe_profiles(), hop_filter(), hop_merge(), hop_params(), hop_rename(), is_face(), is_hip(), is_hop(), join_profiles(), make_rel_years(), variable_check(), which_profiles()

Examples

1
2
3
4
## Not run: 
profile_check(myhop, "voxels")

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.