tibble-methods | R Documentation |
Assorted functions for manipulating tibble::tibble()
objects.
## S4 method for signature 'tbl_df'
nrow(x)
## S4 method for signature 'tbl_df'
ncol(x)
## S4 method for signature 'tbl_df'
as.list(x)
x |
|
The following methods are provided from manipulating
tibble::tibble()
objects.
extract integer
number of rows.
extract integer
number of columns.
convert to a list
.
print the object.
# load tibble package
require(tibble)
# make tibble
a <- tibble(value = seq_len(5))
# number of rows
nrow(a)
# number of columns
ncol(a)
# convert to list
as.list(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.