View source: R/rmmCheckShiny.R
rmmCheckShiny | R Documentation |
Run shiny app to visualize rmm check functions
rmmCheckShiny()
See Examples.
None
This function launches a shiny app in the default web browser
Jamie Kass <jamie.m.kass@gmail.com>
## Not run:
rmm1 <- rmmTemplate()
rmm1 <- rmmAutofillPackageCitation(rmm1,c('raster','sp'))
rasterFiles <- list.files(path=paste(system.file(package='dismo'), '/ex', sep=''),
pattern='grd', full.names=TRUE)
make a stack of the rasters
env <- terra::rast(rasterFiles)
# for fitting environment
rmm1 <- rmmAutofillEnvironment(rmm1,env,transfer=0)
# for transfer environment 1 (assuming different than for fitting)
rmm1 <- rmmAutofillEnvironment(rmm1,env,transfer=1)
# for transfer environment 2 (assuming different than 1)
rmm1 <- rmmAutofillEnvironment(rmm1,env,transfer=2)
## End(Not run)
## Not run: rmmCheckShiny(rmm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.