head.dm_zoomed | R Documentation |
dm_zoomed
objectsExtract the first or last rows from a table.
Use these methods without the '.dm_zoomed' suffix (see examples).
The methods for regular dm
objects extract the first or last tables.
## S3 method for class 'dm_zoomed'
head(x, n = 6L, ...)
## S3 method for class 'dm_zoomed'
tail(x, n = 6L, ...)
x |
object of class |
n |
an integer vector of length up to |
... |
arguments to be passed to or from other methods. |
see manual for the corresponding functions in utils.
A dm_zoomed
object.
zoomed <- dm_nycflights13() %>%
dm_zoom_to(flights) %>%
head(4)
zoomed
dm_insert_zoomed(zoomed, new_tbl_name = "head_flights")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.