I have a function like this:
func <- function(abc){
idnumber <- data$abc
}
in which users can input the abc
(a character string), and I want to get the column of that string. For example, if user inputs student
, I want to get idnumber <- data$student
but not data$student
. Is there anyway I can do that?