search for: name_d

Displaying 1 result from an estimated 1 matches for "name_d".

Did you mean: name_r
2009 Apr 09
2
how to automatically select certain columns using for loop in dataframe
..."Argo"), NUM_B = 1:5, NAME_B = c(NA, "Barn", "Bolton", "Bravo", NA), NUM_C = 1:5, NAME_C = c("Candy", NA, "Cecil", "Crayon", "Corey"), NUM_D = 1:5, NAME_D = c("David", "Delta", NA, NA, "Dummy") ) col_names <- c("A", "B", "C", "D") > all.data NUM_A NAME_A NUM_B NAME_B NUM_C NAME_C NUM_D NAME_D 1 1 Andy 1 <NA> 1 Candy 1 David 2 2 Andrew 2...