Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaled density causes small acreage summaries to dominate the density plot figure #81

Open
dylanbeaudette opened this issue Feb 7, 2018 · 1 comment

Comments

@dylanbeaudette
Copy link
Member

dylanbeaudette commented Feb 7, 2018

How can / should map unit area be factored into the density plots? Perhaps with variable line width?

@dylanbeaudette
Copy link
Member Author

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))

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant