Skip to content

Commit

Permalink
Update mclosest.R
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Oct 6, 2023
1 parent 621d352 commit abbad0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/mclosest.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#'@title Extract closest values in a pairwise manner between two matrices
#' @title Extract closest values in a pairwise manner between two matrices
#'
#' @description
#'
Expand Down Expand Up @@ -47,7 +47,7 @@
#' table <- data.frame(c = c(11, 23, 3, 5, 1), d = c(32:35, 45))
#'
#' ## Get for each row of `x` the index of the row in `table` with the smallest
#' ##difference of values (per column)
#' ## difference of values (per column)
#' mclosest(x, table)
#'
#' ## If the absolute difference is larger than `tolerance`, return `NA`. Note
Expand Down

0 comments on commit abbad0d

Please sign in to comment.