Skip to content

Document type = "linear_pred" better #1314

@hfrick

Description

@hfrick

type = "linear_pred" is not listed in the options for type but should be. It's mentioned in the section on censored regression but should also be mentioned in the Value/return section.

parsnip/R/predict.R

Lines 9 to 11 in 77e0822

#' @param type A single character value or `NULL`. Possible values
#' are `"numeric"`, `"class"`, `"prob"`, `"conf_int"`, `"pred_int"`,
#' `"quantile"`, `"time"`, `"hazard"`, `"survival"`, or `"raw"`. When `NULL`,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions