Description Usage Arguments Details Value Author(s)
A function to generate a two-way table with independent margins
1 2 3 4 |
n |
sum total of observations generated |
prow |
nonnegative weights for the row marginal distribution |
pcol |
nonnegative weights for the col marginal distribution |
dmnames |
names for the table dimensions |
addmargins |
should margins be added to the table |
as.df |
should the result be returned as a data frame |
untable |
if true then data frame will be expanded to one observation per row |
This function will generate a two-way table with independent marginal distributions.
Either an object of class table or a data frame.
G. Jay Kerns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.