Learn R Programming

medfateland (version 2.8.1)

shinyplot.sf: Shiny app with interactive plots and maps

Description

Creates a shiny app with interactive plots for spatial inputs and simulation results

Usage

# S3 method for sf
shinyplot(x, SpParams = NULL, r = NULL, ...)

Value

An object that represents the shiny app

Arguments

x

The object of class 'sf' containing information to be drawn (see details).

SpParams

A data frame with species parameters (see SpParamsMED), required for most forest stand variables.

r

An object of class SpatRaster, defining the raster topology.

...

Additional parameters for function shinyplot (not used).

Author

Miquel De Cáceres Ainsa, CREAF

Details

Only run this function in interactive mode. The shiny app can be used to display spatial inputs or simulation results.

Spatial inputs: This is the case if the user supplies an object of class sf with simulation inputs.

Simulation result summaries: This is the case if the user supplies an object of class sf with simulation summaries. Available plots depend on the summary function used to create the result summaries.

See Also

plot_summary, extract_variables