gof_mc | R Documentation |
A Monte Carlo test to verify if two sets of polygons are
associated based in a global envelope of the functions
K_{12}(d)
and L_{12}(d)
using different test statistics.
gof_mc(
obj_sp1,
obj_sp2,
n_sim = 499L,
unique_bbox = NULL,
alpha = 0.01,
H = "L",
ts = "SMAD",
distances = NULL,
fixed = FALSE,
method = "hausdorff"
)
obj_sp1 |
an object from class |
obj_sp2 |
an object from class |
n_sim |
an |
unique_bbox |
a |
alpha |
a |
H |
a |
ts |
a |
distances |
a |
fixed |
a |
method |
a |
a list from class gof_test
, with values:
a numeric
scalar giving the p-value of the test
a numeric
vector giving the test statistic for each of the Monte Carlo simulations
a matrix
where each line correspond to the function (K
or L
) estimated
for the Monte Carlo simulations
numeric vector
containing the distances where mc_func were evaluated.
a numeric
scalar giving the significance level
a logical
scalar, TRUE if the null hypothesis is reject
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.