Compute profile likelihood on the interval
runPL(pL, interval, logScale = FALSE, numPoints = 21)
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 |
logScale | a logical (default: |
numPoints | the number of points to position at the |
a data.frame; the first column consists of the parameter values, the second ("logL") is for -log(likelihood) values.