Description Usage Arguments Details Value Examples

Simulate p-values from a goodness-of-fit test.

1 2 3 4 5 6 7 |

`object` |
An object of class |

`nsim` |
Integer specifying the number of bootstrap replicates to use. |

`test` |
Character string specifying which goodness-of-fit test to use.
Current options include: |

`...` |
Additional optional arguments. (Currently ignored.) |

`x` |
An object of class |

Under the null hypothesis, the distribution of the p-values should appear
uniformly distributed on the interval [0, 1]. This can be visually
investigated using the `plot`

method. A 45 degree line is indicative of
a "good" fit.

A numeric vector of class `"gof", "numeric"`

containing the
simulated p-values.

1 2 | ```
# See ?resids for an example
?resids
``` |

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.