kd {smacpod} | R Documentation |
Difference of estimated K functions
Description
kd
determines the difference in estimated K
functions for a set of cases and controls.
Usage
kd(
x,
case = 2,
r = NULL,
rmax = NULL,
breaks = NULL,
correction = c("border", "isotropic", "Ripley", "translate"),
nlarge = 3000,
domain = NULL,
var.approx = FALSE,
ratio = FALSE
)
Arguments
x |
A |
case |
The name of the desired "case" group in
|
r |
Optional. Vector of values for the argument |
rmax |
Optional. Maximum desired value of the argument |
breaks |
This argument is for internal use only. |
correction |
Optional. A character vector containing any selection of the
options |
nlarge |
Optional. Efficiency threshold.
If the number of points exceeds |
domain |
Optional. Calculations will be restricted
to this subset of the window. See Details of
|
var.approx |
Logical. If |
ratio |
Logical.
If |
Details
This function relies internally on the
Kest
and
eval.fv
. The arguments are essentially
the same as the Kest
function,
and the user is referred there for more details about
the various arguments.
Value
Returns an fv
object. See documentation
for Kest
.
Author(s)
Joshua French
References
Waller, L.A. and Gotway, C.A. (2005). Applied Spatial Statistics for Public Health Data. Hoboken, NJ: Wiley.
See Also
Examples
data(grave)
kd = kd(grave)
plot(kd)