is_class_pred {probably}R Documentation

Test if an object inherits from class_pred

Description

is_class_pred() checks if an object is a class_pred object.

Usage

is_class_pred(x)

Arguments

x

An object.

Examples


x <- class_pred(factor(1:5))

is_class_pred(x)


[Package probably version 1.0.3 Index]