tisch: Create a new tisch object tisch initializes a new tisch...

Description Usage Arguments Details See Also Examples

Description

Create a new tisch object tisch initializes a new tisch object. Designate rows and columns via its formula interface.

Usage

1
2
tisch(data, formula = NULL, cols = NULL, rows = NULL, sep = NULL,
  reorder = FALSE, ...)

Arguments

data

a data frame

formula

casting formula, see dcast for specifics

cols

which are the column variables?

rows

which are the row variables?

sep

if column are composites, what is the separator string?

reorder

logical, allow the casting function to reorder the data frame?

...

arguments passed to the casting function

Details

There exists two ways of specifying the row and column variables in tisch.

See Also

dcast

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data("browsershares")
tt <- tisch(browsershares, rows = c("Year", "Month"), sep = " >> ") +
theme(
   row_style = ragged(indent = 0.2),
   column_justification = "central",
   text_size = "scriptsize",
   replace_NA = "-"
   ) + 
   caption("Browser market share in 2011-2013") +
   footnote("Note: Information taken from StatCounter.")

## End(Not run)

crubba/tisch documentation built on May 14, 2019, 12:06 p.m.