Computes rg of the folded model.

1 |

`n` |
number of random generated values. |

`spec` |
a character string specifying the parent distribution (for example, "norm" if the parent distribution correspond to the normal). |

`arg` |
list of arguments/parameters of the parent distribution. |

`interval` |
a vector of interval end-points to search function root. |

An object of the length `n`

, giving the random generated values for the folded model.

S.A. Abu Bakar, S. Nadarajah, Z.A. ABSL Kamarul Adzhar, I. Mohamed. gendist: An R package for generated probability distribution models, submitted.

Brazauskas, V., & Kleefeld, A. (2011). Folded and log-folded-t distributions as models for insurance loss data. Scandinavian Actuarial Journal, 2011(1), 59-74.

1 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.