\[Nevados..de..Colombia\]
library("leaflet")
library("mosaic")
## Registered S3 method overwritten by 'mosaic':
## method from
## fortify.SpatialPolygonsDataFrame ggplot2
##
## The 'mosaic' package masks several functions from core packages in order to add
## additional features. The original behavior of these functions should not be affected by this.
##
## Attaching package: 'mosaic'
## The following objects are masked from 'package:dplyr':
##
## count, do, tally
## The following object is masked from 'package:Matrix':
##
## mean
## The following object is masked from 'package:ggplot2':
##
## stat
## The following objects are masked from 'package:stats':
##
## binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
## quantile, sd, t.test, var
## The following objects are masked from 'package:base':
##
## max, mean, min, prod, range, sample, sum
library ("dplyr")
latitud<-c(10.816, 4.88, 4.66, 4.816, 4.715, 4.843)
longitud<-c(-73.65, -75.316, -75.33, -75.366, -75.388, -75.3522)
names<-c("Sierra Nevada de Santa Marta", "Nevado del Ruiz", "Nevado del Tolima", "Nevado de Santa Isabel", "Nevado del Quindio", "Nevado del Cisne")
leaflet() %>%
addTiles() %>%
addMarkers(lng=c(longitud), lat=c(latitud), popup = c(names))