htweibull: Truncated Weibull hazard function

Description Usage Arguments Value Examples

View source: R/htweibull.R

Description

Truncated Weibull hazard function

Truncated Weibull cumulative hazard

Usage

1
2
3
htweibull(x, shape, scale = 1, a = 0, b = Inf, log = FALSE)

Htweibull(x, shape, scale = 1, a = 0, b = Inf, log = FALSE)

Arguments

x

Numerics. Value at which to evaluate hazard or cumulative hazard function.

shape

Numerics. Shape parameter.

scale

Numerics. Scale parameter (default: 1).

a

Numerics. Lower truncation point (default: 0).

b

Numerics. Upper truncation point (default: Inf).

log

Logical. Return log-hazard or log-cumulative hazard (default: FALSE).

Value

Numerics. Value of hazard or cumulative hazard function.

Examples

1
2
htweibull(5, 2.5)
Htweibull(3, 2.5, 1.5, 1, 5)

colinorourke/tweibull documentation built on Dec. 19, 2021, 5:22 p.m.