compare_table: Compare values within tow arrays or matrices. Helper function...

View source: R/locate_image.R

compare_tableR Documentation

Compare values within tow arrays or matrices. Helper function for locate_ndl_in_hay().

Description

Compare values within tow arrays or matrices. Helper function for locate_ndl_in_hay().

Usage

compare_table(ndl_mt, hay_mt)

Arguments

ndl_mt, hay_mt

A matrix.

Value

A tibble.

Examples

val <- seq(from = 0, to = 1, by = 0.1)
mt_1 <- matrix(sample(val,  20, replace = TRUE))
mt_2 <- matrix(sample(val, 100, replace = TRUE))
compare_table(mt_1, mt_2)


screenshot documentation built on June 22, 2024, 10:30 a.m.