Learn R Programming

parsnip (version 1.1.0)

format-internals: 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)

Value

A tibble

Arguments

x

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