function aggrtab
aggrtab(A, d, micro = TRUE, nin = "n", nout = "n")
D = {D[[j]]} of marginal tables/cubes of A spesified by the list d = d{[[j]]} generated by aggregating over cells in 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.
A list d{[[j]]} whose elements are vectors of variable names from A defining marginal tables/cubes of A that we are interested in.
Logical. TRUE if A is a micro dataset (default). FALSE if A i a frequency count hypercube.
Name of count variable if A is a hypercube. Default name: "n".
Name of the frequency count variable in the output tables.
Johan Heldal, November 2017