I have a data frame that contains survey responses. What is the best way to extract the numbers and change them to a double type variable?
Here is a little sample:
a <- ("10.5", "about 30", "25 per month")
tibble(a)
I have tried
parse_double(a)
and it seems like I am close. Any help is appreciated