10% is per definition not a numeric vector. Therefore, the answer NA is correct. You can convert a character vector containing these numbers to numeric in this fashion:
percent_vec = paste(1:100, "%", sep = "")
as.numeric(sub("%", "", percent_vec))
This works by using sub to replace the % character by nothing.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…