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
###Coordenadas correspondientes a la UNAL Bogota, UPN, UD y UNIANDES
u_publi<- data.frame( lat = c(4.658579264489769, 4.64784928340523, 4.630521314241109, 4.59888888889),
lng= c( -74.05915844565301, -74.08302089073605, -74.06539694195811, -74.08083333333))
u_publi
## lat lng
## 1 4.658579 -74.05916
## 2 4.647849 -74.08302
## 3 4.630521 -74.06540
## 4 4.598889 -74.08083
leaflet_map(pos=u_publi, mark=TRUE)