Learn R Programming

packDAMipd (version 0.2.0)

get_colnames_codedvalues: 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

Run this code
# NOT RUN {
get_colnames_codedvalues("arm", "pat_trial_arm", c("Y", "N"))
# }

Run the code above in your browser using DataLab