how to transform a variable factor into numeric in R? [duplicate]

1

Good morning I'm importing a database from the txt format and the values come in factor but I want to numeric. What do I do?

    
asked by anonymous 27.02.2016 / 14:37

1 answer

-2

Dude, try the following:

variavel <- data.frame(nome_da_base, stringsAsFactors = F)
    
28.02.2016 / 15:45