Description Usage Arguments Details Value See Also Examples

Evaluate if sample data for a categorical variable is consistent with a hypothesized distribution

1 |

`dataset` |
Dataset |

`var` |
A categorical variable |

`p` |
Hypothesized distribution as a number, fraction, or numeric vector. If unspecified, defaults to an even distribution |

`tab` |
Table with frequencies as alternative to dataset |

`data_filter` |
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000") |

See https://radiant-rstats.github.io/docs/basics/goodness.html for an example in Radiant

A list of all variables used in goodness as an object of class goodness

`summary.goodness`

to summarize results

`plot.goodness`

to plot results

1 2 |

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.