Compute profile likelihood on the interval

runPL(pL, interval, logScale = FALSE, numPoints = 21)

Arguments

pL

a function (x) --> double(1) returning the -log(likelihood). For example, it can be a function returned by pl or plGene.

interval

double(2) vector; left and right boundaries to calculate the profile likelihood for the parameter given in parName

logScale

a logical (default: FALSE). Should points on the interval be positioned at log scale?

numPoints

the number of points to position at the interval for profile likelihood calculations

Value

a data.frame; the first column consists of the parameter values, the second ("logL") is for -log(likelihood) values.