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

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

if (FALSE) { plot_occupancy(lands, step = 1, spar = 0.2, states = 1:4) }