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
latitud <- c(6.2669444, 5.0561111, 10.4255556, 8.7877778,4.8286111,1.6197222,11.5137141,4.074437, 1.2315202, 7.892585, 9.315116, 10.9836726, 2.4409944, 11.2330922, 3.8478884, 4.554023, 4.4458614, 3.3758083, 4.5794549, 7.8981152, 7.1388376, 4.63495, 4.6010131, 4.6381938, 4.6583654, 5.551979, 10.4491303, 2.9309802, 4.7948577, 5.6812114, 4.6148335)
longitud <- c(-75.5694444,-75.4927777,-75.5497222, -75.8577777,-74.3552777,-75.6041666,-72.869363, -73.5829436, -77.2935323, -72.5023583, -75.3883712, -74.789829, -76.6048862, -74.1929187, -76.9992011, -75.6587316, -75.2413297, -76.5333726, -74.1575107, -72.4887029, -73.1211278, -74.0611271, -74.1040375, -74.0840464, -74.0591799, -73.356654, -73.2621534, -75.2815523, -75.6877364, -76.6461683, -74.0681504)
names <- c("Universidad de Antioquia", "Universidad de Caldas", "Universidad de Cartagena", "Universidad de Córdoba", "Universidad de Cundinamarca", "Universidad de la Amazonía", "Universidad de la Guajira", "Universidad de los llanos", "Universidad de Nariño", "Universidad de Pamplona", "Universidad de Sucre", "Universidad del Atlantico", "Universidad del Cauca", "Universidad del Magdalena", "Universidad del Magdalena", "Universidad del Quindio", "Universidad del Tolima", "Universidad del Valle", "Universidad Distrital", "Universidad Francisco de Paula Santander", "Universidad indutrial de Santander", "Universidad Militar Nueva Granada", "Universidad Nacional Abierta y a Distancia", "Universidad Nacional", "Universidad Pedagogica", "Universidad Pedagogica y Tecnologica", "Universidad Popular del Cesar", "Universidad Surcolombiana", "Universidad Tecnologica de Pereira", "Universidad Tecnologica del Choco", "Universidad Colegio Mayor de Cundinamarca")
positions <- data.frame(names, latitud, longitud)
leaflet_map(pos=positions[,2:3], mark=TRUE)