A predx class for point predictions.

Point(x)

is.Point(object)

# S4 method for Point
predx_to_json(x)

# S4 method for Point
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

# S4 method for Point
transform_predx(x, to_class, ...)

# S4 method for PointCat
predx_to_json(x)

Details

Point objects contain a single numeric point prediction with no other restrictions.

In JSON and CSV representations, this value is named point.

Slots

predx

A single numeric point prediction.

Examples