tableMissingsDS: Get table of missings per variable

View source: R/tableMissingsDS.R

tableMissingsDSR Documentation

Get table of missings per variable

Description

Obtain the number (or percentage) of missings of for the exposures or phenotypes of an ExposomeSet object

Usage

tableMissingsDS(exp, set = "exposures", output = "n")

Arguments

exp

ExposomeSet Exposome Set object

set

character (default "exposures") Set to get the missings: "exposures" or "phenotypes"

output

character (default "n") Get missing number ("n") or percentage ("p")

Value

Vector of named numerics, where the name corresponds to the variable and the associated numeric corresponds to the missing (number or percentage, dependeing on the output parameter)


isglobal-brge/dsExposome documentation built on Feb. 20, 2023, 11:19 a.m.