Skip to contents

Integrated from HelenaLC/simulation-comparison.

Usage

calc_peacock_2d(ref_mat, sim_mat)

Arguments

ref_mat

2-column numeric matrix for reference.

sim_mat

2-column numeric matrix for simulation.

Value

Peacock test statistic.

Examples

ref <- matrix(stats::rnorm(100), 50, 2)
sim <- matrix(stats::rnorm(100), 50, 2)
calc_peacock_2d(ref, sim)
#> [1] NA