util_count_codes: count realizations of missing codes of any class

Description Usage Arguments Value

View source: R/util_count_codes.R

Description

count total numbers of any sort of missing codes (MISSING or JUMP)

Usage

1
util_count_codes(sdf, mdf, variables, list, name, warn = TRUE)

Arguments

sdf

study data

mdf

meta data

variables

variables

list

variable attribute JUMP_LIST or MISSING_LIST: Count which categories.

name

variable attribute the name of the column in the metadata with labels of variables

warn

logical emit warnings on non-numeric missing codes

Value

a vector with the total number of missings of the class referred by list per variables.


dataquieR documentation built on Feb. 26, 2021, 5:08 p.m.