scaled_logit: Represents a 'scaled' logit link

Description Usage Arguments Value

View source: R/epirt.R

Description

The link function is parameterised by a value r>0, and takes the form log(x/(K - x)). The inverse link is then K* inv_logit(x). This is similar to the logit link, although x can range between [0, K] rather than [0,1]. The parameter K can be chosen.

Usage

1
scaled_logit(K = 6)

Arguments

K

parameterises the link function. The inverse of which then takes values between 0 and K.

Value

A list with class "scaled_logit"


epidemia documentation built on Oct. 25, 2021, 9:09 a.m.