SGgompertz: The survival function of a Gompertz-gamma distribution

Description Usage Arguments Details Value Examples

Description

The survival function of a Gompertz-gamma distribution

Usage

1
SGgompertz(x, shape = 1, scale = 1, frail = 0, log.p = FALSE)

Arguments

x

A vector of positive numbers

shape

The shape parameter

scale

The scale parameter

frail

The frailty parameter

log.p

Logical, should the result be on a log scale?

Details

The survivor function S(x) is defined as

Value

A numerical vector of the same length as x.

Examples

1
SGgompertz(c(1, 3, 5))

goranbrostrom/eha2 documentation built on May 17, 2019, 7:59 a.m.