plot.env_summarized {onpoint} | R Documentation |
plot.env_summarized
Description
Plotting method for env_summarized
object
Usage
## S3 method for class 'env_summarized'
plot(
x,
col = c("#97CBDE", "#E1B0B5"),
x_lab = NULL,
y_lab = NULL,
base_size = 10,
label = TRUE,
...
)
Arguments
x |
Random patterns. |
col |
Colors for areas above and below envelope. |
x_lab , y_lab |
Labels of x- and y-axis. |
base_size |
Base size of plot |
label |
If TRUE the ratios of the area above and below are added to the plot. |
... |
To be generic for plotting function. |
Details
Plotting method for summarized envelope created with summarize_envelope
.
Returns a ggplot
object.
Value
ggplot
See Also
Examples
set.seed(42)
input_pattern <- spatstat.random::rThomas(kappa = 15, scale = 0.05, mu = 5)
cluster_env <- spatstat.explore::envelope(input_pattern, fun = "pcf", nsim = 39,
funargs = list(divisor = "d", correction = "Ripley", stoyan = 0.25))
x <- summarize_envelope(cluster_env)
plot(x)
[Package onpoint version 1.0.5 Index]