inv_logit_scaled: Scaled inverse logit-link

View source: R/numeric-helpers.R

inv_logit_scaledR Documentation

Scaled inverse logit-link

Description

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

Usage

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 Sept. 19, 2022, 5:06 p.m.