Skip to contents

Integrated from simpipe.

Usage

calc_fasano_franceschini(ref_mat, sim_mat, threads = 1)

Arguments

ref_mat

2-column numeric matrix for reference.

sim_mat

2-column numeric matrix for simulation.

threads

CPU threads. Default 1.

Value

Estimated 2D KS statistic.

Examples

ref <- matrix(stats::rnorm(100), 50, 2)
sim <- matrix(stats::rnorm(100), 50, 2)
calc_fasano_franceschini(ref, sim)
#> Warning: argument is not numeric or logical: returning NA
#> [1] NA