search_fun_values_or_edge: Go to a value or the edge

View source: R/find_sub_table.R

search_fun_values_or_edgeR Documentation

Go to a value or the edge

Description

Go to a value or the edge

Usage

search_fun_values_or_edge(
  values,
  from = c("row", "column"),
  skip = c(0, 0),
  exclude_value = FALSE
)

Arguments

values

The value to search for

from

The location to search from within the block. It must already be found. Options pairs of "up", "row", or "down" and "left", "column", or "right". Defaults to the column and row of the found value.

skip

The rows and columns to skip from the from argument when starting the search.

exclude_value

Exclude the found value from the edge? (Useful if you are searching for an NA cell at the edge and do not want that NA value in the result.)

Value

A number for the distance to the edge.

See Also

Other Sub-table finding: find_sub_table(), search_fun_edge()


billdenney/bsd.report documentation built on Jan. 16, 2024, 12:54 a.m.