Nothing
#' Parallel regression assumption (logical)
#'
#' Whether the parallel regression assumption is imposed in an ordinal
#' regression model.
#'
#' @param values A vector of possible values (`TRUE` or `FALSE`).
#'
#' @details This parameter is used by ordinal regression models specified by
#' `parsnip::ordinal_reg()`, for example with the `"clm"`, `"vglm"`, or
#' `"ordinalNet"` engines. It controls whether the regression coefficients are
#' shared across all ordinal thresholds (e.g. proportional odds in
#' logit-linked models) or allowed to vary (generalized ordered logit). `TRUE`
#' makes all effects parallel, `FALSE` makes all effects nominal or
#' category-specific.
#' @examples
#' values_parallel_reg
#' parallel_reg()
#' @export
parallel_reg <- function(values = values_parallel_reg) {
new_qual_param(
type = "logical",
values = values,
label = c(parallel_reg = "Parallel Regression"),
finalize = NULL
)
}
#' @rdname parallel_reg
#' @export
values_parallel_reg <- c(TRUE, FALSE)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.