| reframe | R Documentation |
Like summarise() but allows expressions that return more than one row
per group. Currently implemented via collect() fallback.
reframe(.data, ...)
.data |
A |
... |
Named expressions. |
A data.frame (not a lazy node).
f <- tempfile(fileext = ".vtr")
write_vtr(data.frame(g = c("a", "a", "b"), x = c(1, 2, 3)), f)
tbl(f) |> group_by(g) |> reframe(range_x = range(x))
unlink(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.