plot_occupancy: Plot landscape occupancy

Description Usage Arguments Examples

View source: R/plot_occupancy.R

Description

This function plots the distribution of state occupancy over the Latitudinal gradient of the landscape

Usage

1
plot_occupancy(lands, step, spar, states = 1:3, add = FALSE)

Arguments

lands

the object output of the run_model function

step

vector, time step to be plotted

spar

numeric, value between 0 and 1 to smooth the state occupancy

states

vector, the forest states to be plotted. 1 for Boreal, 2 for Temperate, 3 for Mixed and 4 for regeneration

add

logical, if TRUE the lines will be added to an existent plot

Examples

1
2
3
4
## Not run: 
plot_occupancy(lands, step = 1, spar = 0.2, states = 1:4)

## End(Not run)

willvieira/STManaged documentation built on Sept. 4, 2020, 2:26 p.m.