HWEintr-class | R Documentation |

This class encapsulates the results of a Bayesian objective analysis via intrinsic priors for the Hardy-Weinberg Testing Problem as described in Consonni et al. (2011).

Objects can be created by calls of the form `new("HWEintr", bf, npp, draws, data)`

, but most often as the result of a call to `hwe.ibf`

or to `hwe.ibf.mc`

.

`bf`

:Object of class

`"numeric"`

; Bayes factor based on intrinsic priors.`npp`

:Object of class

`"numeric"`

; posterior probability of the null Hardy-Weinberg model.`draws`

:Object of class

`"numeric"`

; individual terms of the Monte Carlo sum using importance sampling.`data.mat`

:Object of class

`"matrix"`

; original data in matrix form.

- plot
`signature(x = "HWEintr", y = "missing")`

: Provides a graphical representation of the estimates.- summary
`signature(object = "HWEintr")`

: Summarizes the information about the estimates.

Sergio Venturini sergio.venturini@unicatt.it

Consonni, G., Moreno, E., and Venturini, S. (2011). "Testing Hardy-Weinberg equilibrium: an objective Bayesian analysis". Statistics in Medicine, **30**, 62–74. https://onlinelibrary.wiley.com/doi/10.1002/sim.4084/abstract

`hwe.ibf`

,
`hwe.ibf.mc`

,
`hwe.ibf.plot`

.

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.