Open dylanbeaudette opened 6 years ago
This is close, but the low / high end are too thin/thick:
var.lwd <- scales::rescale(log(sampling.res$area.stats$`Total Area`), to=c(0.5, 2.5))
tps <- list(superpose.line=list(col=cols, lwd=var.lwd, lend=2))
The scaling should result in something that is bounded by line widths of 0.5--2.5, but shouldn't always be clamped to that range. Someone more clever than I must know how to do this.
How can / should map unit area be factored into the density plots? Perhaps with variable line width?