See the hline_at and hline_from arguments passed to stable() and
then to tab_hlines(),
Usage
st_hline(
x,
pattern = NULL,
cols = names(x$data),
n = 1,
at = NULL,
from = NULL,
nudge = 0
)Arguments
- x
and stobject
- pattern
a regular expression to find rows where an
hlinewill be placed; passed tostringr::str_detect()- cols
data columns to scan using
pattern- n
number of
hlinesto add when a hit is found- at
logical or integer locations for hline passed to
stable()ashline_at- from
character column name used to divide a table; passed to
stable()ashline_from- nudge
push an hline down or up in the table; only applies to indices found from using either the
atorpatternarguments
