Calculate bootstrapped confidence intervals for get.pi values.

Description

Wrapper to get.pi.bootstrap that takes care of calculating the confidence intervals based on the bootstrapped values..

Usage

1
2
get.pi.ci(posmat, fun, r = 1, r.low = rep(0, length(r)), boot.iter = 1000,
  ci.low = 0.025, ci.high = 0.975)

Arguments

posmat

a matrix with columns type, x and y

fun

the function to decide relationships

r

the series of spatial distances wer are interested in

r.low

the low end of each range. 0 by default

boot.iter

the number of bootstrap iterations

ci.low

the low end of the ci...0.025 by default

ci.high

the high end of the ci...0.975 by default

Value

a matrix with a row for the high and low values and a column per distance

Author(s)

Justin Lessler

See Also

Other get.pi: get.pi.bootstrap, get.pi.permute, get.pi.typed.bootstrap, get.pi.typed.permute, get.pi.typed, get.pi

Examples

1
2
3
4
## Not run: 
 R/examples/get_pi_ci.R
 
## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.