Learn R Programming

multivarious (version 0.3.1)

is_fitted: Check if a preprocessing object is fitted

Description

Determine whether a preprocessing object has been fitted to data. This is used internally to provide helpful error messages when users try to transform data with an unfitted preprocessor.

Usage

is_fitted(object)

Value

Logical: TRUE if fitted, FALSE otherwise

Arguments

object

A preprocessing object to check