Learn R Programming

dataquieR (version 1.0.13)

util_count_code_classes: count distinct realizations of missing codes of a specific class

Description

count numbers of distinct codes of class missings or of class jump jumps

Usage

util_count_code_classes(sdf, mdf, variables, name, list, warn = FALSE)

Value

a vector with the number of distinct realized missing codes of the missing class referred by list per variables.

Arguments

sdf

study data

mdf

meta data

variables

variables

name

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

list

variable attribute JUMP_LIST or MISSING_LIST: Count which categories.

warn

logical emit warnings on non-numeric missing codes