Assorted functions for manipulating tibble objects.

# S4 method for tbl_df
nrow(x)

# S4 method for tbl_df
ncol(x)

# S4 method for tbl_df
as.list(x)

Arguments

x

tibble object.

Details

The following methods are provided from manipulating tibble objects.

nrow

extract integer number of rows.

ncol

extract integer number of columns.

as.list

convert to a list.

print

print the object.

Examples

# load tibble package require(tibble)
#> Loading required package: tibble
# make tibble a <- tibble(value = seq_len(5)) # number of rows nrow(a)
#> [1] 5
# number of columns ncol(a)
#> [1] 1
# convert to list as.list(a)
#> $value #> [1] 1 2 3 4 5 #>