Learn R Programming

screenshot (version 0.9.2)

compare_table: 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)

Value

A tibble.

Arguments

ndl_mt, hay_mt

A matrix.

Examples

Run this code
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)

Run the code above in your browser using DataLab