aggrtab | R Documentation |
function aggrtab
aggrtab(A, d, micro = TRUE, nin = "n", nout = "n")
A |
A data frame representing a micro dataset or a frequency count hypercube. The (first) columns define the variables. If A is a hypercube the last column contains the number of units in each cell. |
d |
A list d{[[j]]} whose elements are vectors of variable names from A defining marginal tables/cubes of A that we are interested in. |
micro |
Logical. TRUE if A is a micro dataset (default). FALSE if A i a frequency count hypercube. |
nin |
Name of count variable if A is a hypercube. Default name: "n". |
nout |
Name of the frequency count variable in the output tables. |
D = {D[[j]]} of marginal tables/cubes of A spesified by the list d = d{[[j]]} generated by aggregating over cells in A.
Johan Heldal, November 2017
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.