siberKapow | R Documentation |
Intended to calculate the area of an ellipse as a proportion of a group of ellipses represented by their union, i.e. the total area encompassed by all ellipses superimposed.
siberKapow(
dtf,
isoNames = c("iso1", "iso2"),
group = "group",
pEll = stats::pchisq(1, df = 2)
)
dtf |
a data.frame object comprising bivariate data as a requirement, and possibly other variables too but these are currently ignored. |
isoNames |
a character vector of length 2 providing the names of the variables containing the x and y data respectively. |
group |
a character vector of length 1 providing the name of the grouping variable on which to calculate the KAPOW ellipse. |
pEll |
the probability ellipse to draw for each group. Defaults to the
Standard Ellipse with |
an object of class spatstat.geom::owin
containing the numerically calculated
ellipses and their union along with the raw ellipse boundaries in both raw
and spatstat.geom::owin
format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.