Learn R Programming

updog (version 1.2.0)

doutdist: The outlier distribution we use. Right now it is just a beta binomial with mean 1/2 and od 1/3 (so underlying beta is just a uniform from 0 to 1).

Description

The outlier distribution we use. Right now it is just a beta binomial with mean 1/2 and od 1/3 (so underlying beta is just a uniform from 0 to 1).

Usage

doutdist(x, n, logp)

Arguments

x

The number of reference counts.

n

The total number of read-counts.

logp

Return the log density TRUE or not FALSE?

Value

A double. The outlier density value.