Description Usage Arguments Value Author(s) See Also Examples
Converts the actual view of a Cube
object to a data frame. All added selections and
aggregations will be regarded. Note that selection criteria will be applied before
aggregating the data.
1 2 | ## S3 method for class 'Cube'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
|
x |
The |
row.names |
A character vector giving the row names for the data frame. |
optional |
Should setting row names and converting column names be optional? |
... |
Further parameters that are passed to |
A molten data frame
Michael Scholz michael.scholz@th-deg.de
1 2 3 4 5 6 | data("sales")
cube = generateCube(sales, columns = list(time = c("month", "year"),
location = c("state"), product = "product"), valueColumn = "amount")
cube = change.dimensionOrder(cube, dimensions = c("product", "month", "year", "state"))
df = as.data.frame(cube)
df
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.