New Geometry – Confidence Regions
[This article was first published on ggtern: ternary diagrams in R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
geom_confidence(…)
One of the first suggestions that was presented to me, was by Sean Mulcahy, whom suggested that it would be a good idea to consider confidence regions, as presented HERE. I am plesed to say that a new geometry (geom_confidence
) has been created, and, is available since version 1.0.1.1, continue reading for a couple of examples.
Basic Case
Here is an ‘out of the box’ example, using Sean’s Feldspar data, for the default 50%, 90% and 95% confidence intervals:
Code for the above:
data(Feldspar) ggtern(data = Feldspar, aes(An, Ab, Or)) + geom_confidence() + geom_point() + labs(title = 'Feldspar - Elkins and Grove 1990 + Confidence Levels')
The post New Geometry – Confidence Regions appeared first on ggtern: ternary diagrams in R.
To leave a comment for the author, please follow the link and comment on their blog: ggtern: ternary diagrams in R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.