inv.logit.mat: Inverse logit for matrices

Description Usage Arguments Examples

View source: R/helper_functions.R

Description

Apply the inverse logit function to a matrix, element-wise. It generalizes the inv.logit function from the gtools library to matrices

Usage

1
inv.logit.mat(x, min = 0, max = 1)

Arguments

x

matrix

min

Lower end of logit interval

max

Upper end of logit interval

Examples

1
2
(mat = matrix(rnorm(10 * 5), nrow = 10, ncol = 5))
inv.logit.mat(mat)

andland/logisticPCA documentation built on Sept. 13, 2020, 12:24 a.m.