knitr::opts_chunk$set( collapse = TRUE, comment = "#>", # fig.width = 7, # fig.height = 5, warning = FALSE, message = TRUE )
shenxt@stanford.edu
M339, Alway building, Cooper Lane, Palo Alto, CA 94304
# set seed for reproducible widget id if (requireNamespace("htmltools", quietly = TRUE)) { htmlwidgets::setWidgetIdSeed(42) } library(leaflet) leaflet::leaflet(width = "100%") %>% addTiles() %>% addMarkers( lng = -122.174878, lat = 37.432402, popup = "Stanford Medicine" )
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.