plot_curve {spatgeom} | R Documentation |
plot spatgeom
objects
Description
Plot method for objects of class spatgeom
.
Usage
plot_curve(x, type = "curve", font_size = 12)
Arguments
x |
an object of class |
type |
a string that could be |
font_size |
a integer that increases the font size in the plot. |
Value
a ggplot
object with the geometric indices (or
its derivative). The plot is generated with the nalphas
point of
alpha
and geom_corr
from the function
spatgeom
.
In each panel, the theoretical CSR process is drawn using
exp(-intensity * pi * x^2)
. where the intensity depends on each
panel.
Examples
xy <- donut_data(n = 30, a = -1, b = 1, theta = 2 * pi)
estimation <- spatgeom(y = xy[, 1], x = xy[, -1])
plot_curve(estimation, type = "curve")
plot_curve(estimation, type = "deriv")
[Package spatgeom version 0.3.0 Index]