na.rpart: Handles Missing Values in an Rpart Object

View source: R/na.rpart.R

na.rpartR Documentation

Handles Missing Values in an Rpart Object

Description

Handles missing values in an "rpart" object.

Usage

na.rpart(x)

Arguments

x

a model frame.

Details

Default function that handles missing values when calling the function rpart.

It omits cases where part of the response is missing or all the explanatory variables are missing.


rpart documentation built on May 29, 2024, 8:38 a.m.