1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cube.R
\name{as.table.tbl_cube}
\alias{as.table.tbl_cube}
\alias{as.data.frame.tbl_cube}
\alias{as_tibble.tbl_cube}
\title{Coerce a \code{tbl_cube} to other data structures}
\usage{
\method{as.table}{tbl_cube}(x, ..., measure = 1L)
\method{as.data.frame}{tbl_cube}(x, ...)
\method{as_tibble}{tbl_cube}(x, ...)
}
\arguments{
\item{x}{a \code{tbl_cube}}
\item{...}{Passed on to individual methods; otherwise ignored.}
\item{measure}{A measure name or index, default: the first measure}
}
\value{
A table, data frame, or tibble, as appropriate.
}
\description{
Supports conversion to tables, data frames, tibbles.
For a cube, the data frame returned by
\code{\link[tibble:as_tibble]{tibble::as_tibble()}} resulting data frame contains the
dimensions as character values (and not as factors).
}
|