I have a dataframe with this :
structure(list(name = c("Andres", "Angel", "Aleop", "Kevin", "Thomas", "Aleez",
"Andoz", "Antonio", "Javi", "Pol"),
conv = c("19", "18", "1", "18", "16", "16", "17", "17",
"12", "1"), play = c("18", "1", "0", "17", "16", "13",
"16", "15", "9", "1"),goal = c("-", "-", "0", "1", "-", "1",
"-", "1", "2", "-"), mins = c("1.620", "90", NA, "1.505", "1.335", "623", "1.124", "1.227",
"796", "1")), row.names = c(NA, -10L), class = c("tbl_df", "tbl", "data.frame"))
When I try to convert the mins column to numeric with df$mins <- as.numeric(df$mins) the result I get is not correct. I get 1.620, 90.000, NA, 1.505, 1.335, 623.000, 1.124, 1.227, 796.000, 1.000 when what I want is the original sequence but in numeric format.