Description Usage Arguments Value Author(s) See Also Examples
Generalized version of the get.theta
function that takes in an arbitrary function and
returns the odds that a point within a particular range of a point of interest shares the relationship
specified by the passed in function with that point.
1 | get.theta(posmat, fun, r = 1, r.low = rep(0, length(r)), data.frame = TRUE)
|
posmat |
a matrix with columns x, y and any other named columns columns needed by fun |
fun |
a function that takes in two rows of posmat and returns:
Note that names from |
r |
the series of spatial distances (or there maximums) we are interested in |
r.low |
the low end of each range, 0 by default |
data.frame |
logical indicating whether to return results as a data frame (default = TRUE) |
theta value for each distance range that we look at. Where:
θ(d_1,d_2) = \frac{∑ \boldsymbol{1} d_{ij} \in [d_1,d_2)) \boldsymbol{1} (f(i,j)=1) }{∑ ∑ \boldsymbol{1} d_{ij} \in [d_1,d_2)) \boldsymbol{1} (f(i,j)=2) }
Justin Lessler and Henrik Salje
Other get.theta:
get.theta.bootstrap()
,
get.theta.ci()
,
get.theta.permute()
,
get.theta.typed.bootstrap()
,
get.theta.typed.permute()
,
get.theta.typed()
Other spatialtau:
get.pi()
,
get.tau()
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.