Learn R Programming

RESTK (version 1.0.1)

linear_adjust: Linear adjust

Description

linear_adjust function used to project the max_k line into the probabilities of interest

Usage

linear_adjust(min_maxk = NULL, probs = NULL, probs_interest)

Value

Returns the maxk line for the probabilities of interest

Arguments

min_maxk

minimum maxk found for each probability of interest

probs

Probabilities where maxk was evaluated

probs_interest

Probabilities of interest to estimate

Examples

Run this code
linear_adjust(min_maxk = c(10, 15, 20),
              probs = c(1-1e-1, 1-1e-2, 1-1e-3),
              probs_interest = c(1-1e-6, 1-1e-7, 1-1e-8))

Run the code above in your browser using DataLab