get_colnames_codedvalues: Function to keep the column name, coded values and non...

View source: R/3a_trialdata_analysis_input_functions.R

get_colnames_codedvaluesR 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"))

packDAMipd documentation built on May 29, 2024, 3:18 a.m.