format-internals: Internal functions that format predictions

format-internalsR Documentation

Internal functions that format predictions

Description

These are used to ensure that we have appropriate column names inside of tibbles.

Usage

format_num(x)

format_class(x)

format_classprobs(x)

format_time(x)

format_survival(x)

format_linear_pred(x)

format_hazard(x)

Arguments

x

A data frame or vector (depending on the context and function).

Value

A tibble


parsnip documentation built on Aug. 18, 2023, 1:07 a.m.