Posts by c_mariano • 11 points
2 posts
-
0
votes3
answers82
viewsQ: Merge two dataframes of the same name keeping all columns
I have two data frames with the same name in the columns, example: df1 <- read.table(text = "Nom1 Nom2 15.1 20.3 45.5 40.1 32.1 50.2", header = T) df2 <- read.table(text = "Nom1 Nom2 10.1 90.3…
-
1
votes0
answers102
viewsQ: Round geographical coordinates for classes with intervals of 0.5° latitude/longitude
I have the following data.frame with the occurrence coordinates of a species: df <- data.frame( especie = c("sp1", "sp2", "sp3"), longitude = c(-48.97376, -36.08333, -41.66931), latitude =…