Learn R Programming

logisticPCA (version 0.2)

inv.logit.mat: Inverse logit for matrices

Description

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

Usage

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

Arguments

x
matrix
min
Lower end of logit interval
max
Upper end of logit interval

Examples

Run this code
(mat = matrix(rnorm(10 * 5), nrow = 10, ncol = 5))
inv.logit.mat(mat)

Run the code above in your browser using DataLab