knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE, dev = "ragg_png", fig.width = 9, fig.height = 6, dpi = 600, retina = 1) Sys.setlocale("LC_TIME", "C")
## for non-CRAN packages please keep install instruction ## but commented so it is not run each time, e.g. # devtools::install_github("EcoDynIZW/template") ## libraries used in this script ## please add ALL LIBRARIES NEEDED HERE ## please remove libraries from the list that are not needed anymore ## at a later stage library()
## To import tabular data (.csv, .txt, .xls etc.) df <- vroom::vroom("your-data.csv") ## To import geospatial data sf <- sf::read_sf("your-geo-data.shp") ## vector data raster <- raster::raster("your-geo-raster.tiff") ## raster data
Session Info
## DO NOT REMOVE! ## We store the settings of your computer and the current versions of the ## packages used to allow for reproducibility Sys.time() #git2r::repository() ## uncomment if you are using GitHub sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.