Learn R Programming

BioNet (version 1.32.0)

fbumLL: Calculate log likelihood of BUM model

Description

The function calculates the log likelihood of the BUM model.

Usage

fbumLL(parms, x)

Arguments

parms
Vector of parameters; lambda and a.
x
Numerical vector of p-values.

Value

Log likelihood.

Examples

Run this code
data(pvaluesExample)
pvals <- pvaluesExample[,1]
bum.mle <- fitBumModel(pvals, plot=FALSE)
fbumLL(parms=c(bum.mle$lambda, bum.mle$a), x=pvals)

Run the code above in your browser using DataLab