
Last chance! 50% off unlimited learning
Sale ends in
Create a set of valid names (trimmed, no duplicates, not starting with a number).
validNames(x, prefix='layer')
character
character string used if x is empty
character
# NOT RUN {
validNames(c('a', 'a', '', '1', NA, 'b', 'a'))
# }
Run the code above in your browser using DataLab