This function performs several analysis in one go:
(i) apply rings();
(ii) compute prevalence surface with kde();
(iii) compute the surface of rings radii with krige();
(iv) plot prevalence surface using prevR.colors.red() and add rings radii
as a contour plot.
quick.prevR(
object,
N = Noptim(object),
nb.cells = 100,
cell.size = NULL,
weighted = NULL,
plot.results = TRUE,
return.results = FALSE,
return.plot = FALSE,
legend.title = "%",
cex = 0.7,
progression = TRUE
)object of class prevR.
integer or list of integers corresponding to the rings to use.
number of cells on the longest side of the studied area
(unused if cell.size is defined).
size of each cell (in the unit of the projection).
use weighted data (TRUE, FALSE or "2")?
plot the results?
return the results?
return the plot within the results?
title of the legend
to control the text size on the graph
show a progress bar?
A list of one or several elements, depending on the arguments:
(i) prev is a SpatialPixelsDataFrame containing the prevalence
surface; (ii) radius a SpatialPixelsDataFrame containing the
kriged surface of the rings radii; (iii) plot a ggplot graph.
N determine the rings to use for the estimation.
By default, a suggested value of N will be computed with Noptim().
if (FALSE) {
quick.prevR(fdhs)
}