conf_interv: Confidence intervals for profile likelihoods

View source: R/threshstab.R

conf_intervR Documentation

Confidence intervals for profile likelihoods

Description

This code is adapted from the mev package.

Usage

conf_interv(
  object,
  level = 0.95,
  prob = c((1 - level)/2, 1 - (1 - level)/2),
  print = FALSE,
  ...
)

Arguments

object

a list containing information about the profile likelihood in the same format as the hoa package

level

probability level of the confidence interval

prob

vector of length 2 containing the bounds, by default double-sided

print

logical indicating whether the intervals are printed to the console

...

additional arguments passed to the function

Value

a table with confidence intervals.


longevity documentation built on Nov. 12, 2023, 5:07 p.m.