Learn R Programming

COMPASS (version 1.10.2)

Posterior: 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

Run this code
Posterior(CR)
PosteriorPs(CR)
PosteriorPu(CR)
PosteriorDiff(CR)
PosteriorLogDiff(CR)

Run the code above in your browser using DataLab