powered by
Function to keep the column name, coded values and non response code into a dataframe
get_colnames_codedvalues(variable, name, code, nrcode = NA)
name of the variable in the column
column name
coded values
code for non response
data frame with all the above information
# NOT RUN { get_colnames_codedvalues("arm", "pat_trial_arm", c("Y", "N")) # }
Run the code above in your browser using DataLab