R/validate_single_response_term.R

Defines functions validate_single_response_term

validate_single_response_term <- function(form){
  if(length(get_response(form)) != 1)
    stop("model formula must have a single response term")
}

Try the distfreereg package in your browser

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

distfreereg documentation built on April 4, 2025, 12:30 a.m.