Description Usage Arguments Value Author(s)

Internal helper function which gets the generator (and normalizing constant)

1 | ```
getGenerator(method, unnormDensFun, xVals, unnormDensVals)
``` |

`method` |
the methods string |

`unnormDensFun` |
the unnormalized density function |

`xVals` |
the x values |

`unnormDensVals` |
the unnormalized density values |

a list with the elements “generator” and “normConst”,
containing the generator function (with argument `n`

for the number
of samples) and the normalizing constant of the density, respectively.

Daniel Sabanes Bove [email protected]

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.