st_span_split | R Documentation |
See the span_split
argument passed to stable()
and then tab_spanners()
.
st_span_split(x, ..., split = TRUE)
x |
an stobject |
... |
passed to |
split |
passed to |
There can only be one span_split
per table; if st_span_split
is
called more than once in a pipeline, a warning will be issued on every
call after the first one and only the latest span_split
data will be
retained in the table.
library(dplyr)
file <- system.file("datasets", "with-dots.RDS", package = "pmtables")
data <- readRDS(file)
st_new(data) %>% st_span_split('.') %>% st_make()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.