Description Usage Arguments Details Value Author(s) See Also Examples

This function is used by `cqmc`

to convert between parameterisations. Optionally includes determinant required by `cqmc`

.

1 |

`pars` |
vector of parameters with names |

`from` |
"m", "p" or "c" represents initial parameterisation |

`to` |
"m", "p" or "c" represents final parameterisation |

`det` |
logical, if TRUE then output is list with determinant of transformation |

"c" and cpars represent calculation pars (includes lambda used in CMP distribution).

"p" and pars represent original pars (includes mu, parameter of interest).

"m" and mpars represent pars transformed to find mode using optim and to run MCMC.

If det is FALSE then transformed vector.

If det is TRUE then a list with:

`new.pars` |
The transformed vector |

`dfac` |
The absolute value of the determinant of the transformation if from is "m" and to is "c" and NA otherwise |

Philip Wilson

1 2 3 4 5 6 7 8 |

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.