ukb_df_duplicated_name: Checks for duplicated names within a UKB dataset

Description Usage Arguments Details Value

Description

Checks for duplicated names within a UKB dataset

Usage

1

Arguments

data

A UKB dataset created with ukb_df.

Details

Duplicates *within* a UKB dataset are unlikely to occur, however, ukb_df creates variable names by combining a snake_case descriptor with the variable's **index** and **array**. If an index_array combination is incorrectly repeated in the original UKB data, this will result in a duplicated variable name. . See vignette(topic = "explore-ukb-data", package = "ukbtools") for further details.

Value

Returns a named list of numeric vectors, one for each duplicated variable name. The numeric vectors contain the column indices of duplicates.


ukbtools documentation built on May 15, 2019, 5:04 p.m.