get_colnames_codedvalues {packDAMipd}R Documentation

Function to keep the column name, coded values and non response code into a dataframe

Description

Function to keep the column name, coded values and non response code into a dataframe

Usage

get_colnames_codedvalues(variable, name, code, nrcode = NA)

Arguments

variable

name of the variable in the column

name

column name

code

coded values

nrcode

code for non response

Value

data frame with all the above information

Examples

get_colnames_codedvalues("arm", "pat_trial_arm", c("Y", "N"))

[Package packDAMipd version 1.1.0 Index]