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))
}

Try the pltesim package in your browser

Any scripts or data that you put into this service are public.

pltesim documentation built on May 1, 2019, 7:48 p.m.