This function requires the bigdata library section to be loaded.
bd.crosstabs(data, columns=NULL, na.action=<<see below>>, sort=T)
bdFrame
or
data.frame
.
na.action
. If
data
has an attribute
na.action
, that will be used as the default value.
Alternatively, if
options("na.action")
is defined,
it will be used as the default value.
Otherwise, the default is
na.fail
, which issues a fatal error message describing
the problem. Other common alternatives are
na.exclude
and
na.include
.
FALSE
allows
you to skip the sort step.
crosstabs
,
with the same structure as an object
returned by the function
.
This is an array of counts, suitable for use in functions like loglin.
This object has an attribute
marginals
, a list of arrays
of the marginal proportions. This is equal to the default marginal
list produced by the function
when its
margin
argument is not specified.
## Create a simple Crosstabulation bd.crosstabs(guayule, 1:3)