R/utils.R

Defines functions nextPlot logist

# Utility Functions

logist <- function(eta) return(exp(eta) / (1 + exp(eta)))

nextPlot <- function() {
  # this functions asks the user if wants to continue to
  # cycle through the diagnostics plots or quit the precedure
  prompt <- "Enter anything to continue or [q] to quit: "
  UInput <- readline(prompt=prompt)
  if (UInput %in% c("q", "Q")) return(invisible("no"))
  return("yes")
}
mr-avila/logitModel documentation built on July 13, 2021, 6:48 p.m.