stackplot: Stack density plot through scales

stackplotR Documentation

Stack density plot through scales

Description

A simple stack density plot function for mertrics through scales

Usage

stackplot(x=NULL, level="class", metric=NULL)

Arguments

x

a table output from calc_lsm or extract_metrics

level

the level from which metrics must be retrived. For the moment, only "landscape" or "class" are accepted. Users can filter the dataset or change properties of the ggplot output object

metric

a metric of choice to be ploted

Examples

## Not run: 
ls.nest <- nestedscales(r,p,b=c(1000,2000,3000))
ls.lsm  <- calc_lsm(ls.nest, metric=c("shdi","sidi","pland"))
stackplot(ls.lsm, level="class", "pland")
stackplot(ls.lsm, level="landscape", "shdi")

## End(Not run)

wilsonfrantine/landscapeDecoupler documentation built on Oct. 31, 2024, 3:45 a.m.