Posts by Rogério • 81 points
2 posts
-
6
votes4
answers7118
viewsQ: Changing the name of a variable in a dataframe R
I have a dataframe with 34846 observations and 15 variables, I would like to know how to change the name of a variable. Example: I have the variable "Country" and I would like to rename it "Country"…
-
2
votes1
answer415
viewsQ: How to change dates from the American format y/m/d to d/m/y in an R dataframe?
I have a dataframe where the dates are in American format and I would like to know how to transform this column to the Brazilian format day-month-year. I tried the package lubridate and the function…