# Load data
fjord_code <- "test"
fjorddata <- fl_LoadFjord(fjord_code, dirdata = system.file("extdata", package = "FjordLight"))
# Shallow data (what = "s"; s for shallow) as a data.frame
shallow_df <- flget_bathymetry(fjorddata, what = "s", mode = "df")
# Plot all ocean and land data
# \donttest{
full_bathy <- flget_bathymetry(fjorddata, what = "ol", mode = "raster", PLOT = TRUE)
# }
# Plot only land data
# \donttest{
land_only <- flget_bathymetry(fjorddata, what = "l", mode = "raster", PLOT =TRUE)
# }
# For more examples see: https://face-it-project.github.io/FjordLight/articles/fl_example.html
Run the code above in your browser using DataLab