Usage
cotab_mosaic(x = NULL, condvars = NULL, ...)
cotab_assoc(x = NULL, condvars = NULL, ylim = NULL, ...)
cotab_sieve(x = NULL, condvars = NULL, ...)
cotab_fourfold(x = NULL, condvars = NULL, ...)
cotab_coindep(x, condvars,
test = c("doublemax", "maxchisq", "sumchisq"),
level = NULL, n = 1000, interpolate = c(2, 4),
h = NULL, c = NULL, l = NULL, lty = 1,
type = c("mosaic", "assoc"), legend = FALSE, ylim = NULL, ...)
Arguments
x
a contingency tables in array form.
condvars
margin name(s) of the conditioning variables.
ylim
y-axis limits for assoc
plot. By default this
is computed from x
.
test
character indicating which type of statistic
should be used for assessing conditional independence.
level,n,h,c,l,lty,interpolate
variables controlling the HCL shading of the
residuals, see shadings
for more details. type
character indicating which type of plot should be produced.
legend
logical. Should a legend be produced in each panel?
...
further arguments passed to the plotting function (such as
mosaic
or assoc
or sieve
respectively).