Learn R Programming

packDAMipd (version 1.1.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)

Value

data frame with all the above information

Arguments

variable,

name of the variable in the column

name,

column name

code,

coded values

nrcode,

code for non response

Examples

Run this code
get_colnames_codedvalues("arm", "pat_trial_arm", c("Y", "N"))

Run the code above in your browser using DataLab