R/qi_FUN.R

Defines functions logistic_prob_FUN

Documented in logistic_prob_FUN

#' Function for finding predicted probability from the systematic linear
#' component of a logistic regression.
#'
#' @param x a numeric vector of the systematic linear component from a
#' logistic regression model.
#'
#' @export

logistic_prob_FUN <- function(x) {
    1 / (1 + exp(-x))
}
christophergandrud/pltesim documentation built on June 11, 2025, 7:56 a.m.