is_class_pred: Test if an object inherits from 'class_pred'

View source: R/class-pred.R

is_class_predR 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)


topepo/probably documentation built on Oct. 21, 2024, 3:28 a.m.