as.table.tbl_cube: Coerce a 'tbl_cube' to other data structures

Description Usage Arguments

View source: R/tbl-cube.r

Description

Supports conversion to tables, data frames, tibbles.

For a cube, the data frame returned by as_data_frame resulting data frame contains the dimensions as character values (and not as factors).

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'tbl_cube'
as.table(x, ..., measure = 1L)

## S3 method for class 'tbl_cube'
as.data.frame(x, ...)

## S3 method for class 'tbl_cube'
as_data_frame(x, ...)

Arguments

x

a tbl_cube

...

Passed on to individual methods; otherwise ignored.

measure

A measure name or index, default: the first measure


sctyner/dplyr050 documentation built on May 17, 2019, 2:22 p.m.