Creamos un mapa con la localización de los árboles en la Reserva de Humacao, a partir de un archivo CSV que contiene las coordenadas de los árboles y su nombre.
Rows: 18 Columns: 3
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (1): arboles
dbl (2): Latitud, Longitud
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
# Create a map with the datam <-leaflet(arboles) %>%addTiles() %>%addMarkers(~Longitud, ~Latitud, popup =~arboles)m