inv_logit_scaled: Scaled inverse logit-link

Description Usage Arguments Value

View source: R/numeric-helpers.R

Description

Computes inv_logit(x) * (ub - lb) + lb

Usage

1
inv_logit_scaled(x, lb = 0, ub = 1)

Arguments

x

A numeric or complex vector.

lb

Lower bound defaulting to 0.

ub

Upper bound defaulting to 1.

Value

A numeric or complex vector between lb and ub.


brms documentation built on Aug. 23, 2021, 5:08 p.m.