SyntaxFix
Write A Post
Hire A Developer
Questions
if x is the column name of dataframe dat, and x is of type factor, use:
x
dat
as.numeric(as.character(dat$x))