How do you convert a numeric value to a string in R?
a) as.numeric()
b) as.character()
c) numToString()
d) str_numeric()
Answer:
b) as.character()
Explanation:
The as.character()
function is used to convert a numeric value into a string in R.