View source: R/NEW_k_functions_sf.R
prep_kfuncs_results | R Documentation |
Prepare the final results at the end of the execution of the main functions calculating K or G functions.
prep_kfuncs_results(
k_vals,
g_vals,
all_values,
conf_int,
calc_g_func,
cross,
dist_seq,
return_sims
)
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 |
A list with the following values :
plotk: A ggplot2 object representing the values of the k-function
plotg: A ggplot2 object representing the values of the g-function
values: A DataFrame with the values used to build the plots
# no example, this is an internal function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.