prep_kfuncs_results {spNetwork}R Documentation

Preparing results for K functions

Description

Prepare the final results at the end of the execution of the main functions calculating K or G functions.

Usage

prep_kfuncs_results(
  k_vals,
  g_vals,
  all_values,
  conf_int,
  calc_g_func,
  cross,
  dist_seq,
  return_sims
)

Arguments

k_vals

a numeric vector with the real K values

g_vals

a numeric vector with the real g values

all_values

a list with the simulated K and G values that must be arranged.

conf_int

the confidence interval parameter.

calc_g_func

a boolean indicating if the G function has been calculated.

cross

a boolean indicating if we have calculated a simple (FALSE) or a cross function.

dist_seq

a numeric vector representing the distance used for calculation

return_sims

a boolean, indicating if the simulations must be returned

Value

A list with the following values :

Examples

# no example, this is an internal function

[Package spNetwork version 0.4.4.6 Index]