Posts by mechanical_fan • 91 points
2 posts
-
3
votes7
answers9711
viewsA: Remove accents
Have you tried using the function gsub? The use is: gsub(padrao a ser substituido, padrao usado na substituicao, string) For example: coluna = c("aaaí","eeeeí","ooooí") gsub("í", "i", coluna) [1]…
ranswered mechanical_fan 91 -
6
votes3
answers34320
viewsA: How to import excel data pro R?
There are a few ways to do this. I couldn’t understand the situation very well, but here are some options to read excel files: With the package gdata: require(gdata) df = read.xls ("myfile.xlsx"),…