Description Usage Arguments Value
Inserts a column with centre name, ukb_centre
, into the supplied data.frame. Useful if your UKB centre variable uk_biobank_assessment_centre_0_0
has not been populated with named levels.
1 | ukb_centre(data, centre.var = "^uk_biobank_assessment_centre.*0_0")
|
data |
A UKB dataset created with |
centre.var |
The UKB column containing numerically coded assessment centre. The default is a regular expression |
A dataframe with an additional column ukb_centre
- UKB assessment centre names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.