Posterior {COMPASS} | R Documentation

## Retrieve Posterior Measures from a COMPASS fit

### Description

These functions can be used to retrieve different posterior measures from a `COMPASS` fit object.

### Usage

    Posterior(x)

    PosteriorDiff(x)

    PosteriorLogDiff(x)

    PosteriorPs(x)

    PosteriorPu(x)

### Arguments

`x` | An object of class `COMPASSResult`.

### Details

The posterior items retrieved are described as follows::

`PosteriorPs`:

  The posterior probability that the samples subjected to the 'treatment', or 'stimulated', condition responded.

`PosteriorPu:`

  The posterior probability that the samples subjected to the 'control', or 'unstimulated', condition responded.

`PosteriorDiff`:

  The difference in posterior response rates, as described above.

`PosteriorLogDiff`:

  The difference in the log response rates, as described above.

### Examples

    Posterior(CR)
    PosteriorPs(CR)
    PosteriorPu(CR)
    PosteriorDiff(CR)
    PosteriorLogDiff(CR)

[Package COMPASS version 1.20.1 Index]