Description Usage Arguments Value Author(s)

A function to randomly generate arbitrary two-way tables

1 2 3 4 |

`n` |
sum total observations |

`pmatrix` |
matrix of nonnegative weights for the probability distribution |

`dmnames` |
names of the table dimensions |

`addmargins` |
should margins be added? |

`as.df` |
table will be returned as a data frame |

`untable` |
should counts be untabled to single observation per row |

An object of class table containing the generated values.

G. Jay Kerns

prob documentation built on May 2, 2019, 12:20 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.