by_rows | R Documentation |
by_rows
and by_cols
set properties in horizontal or vertical "stripes".
by_rows(..., from = 1, ignore_na = TRUE)
by_cols(..., from = 1, ignore_na = TRUE)
... |
One or more cell property values. |
from |
Numeric. Row or column to start at. |
ignore_na |
If |
A function for use in map_***
functions.
mapping-functions
Other mapping functions:
by_cases()
,
by_colorspace()
,
by_function()
,
by_quantiles()
,
by_ranges()
,
by_regex()
,
by_values()
ht <- as_hux(matrix(rnorm(25), 5, 5))
map_background_color(ht,
by_rows("green", "grey"))
map_background_color(ht,
by_cols("green", "grey"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.