predict.hytreenow: Predict method for 'hytreeLite' object

View source: R/hytreenow.R

predict.hytreenowR Documentation

Predict method for hytreeLite object

Description

Predict method for hytreeLite object

Usage

## S3 method for class 'hytreenow'
predict(
  object,
  newdata,
  n.feat = NCOL(newdata),
  fixed.cxr = NULL,
  cxr.newdata = NULL,
  cxr = FALSE,
  cxrcoef = FALSE,
  verbose = FALSE,
  ...
)

Arguments

object

hytreenow

newdata

Data frame of predictors

n.feat

(internal use) Integer: Use first n.feat columns of newdata to predict. Defaults to all

fixed.cxr

(internal use) Matrix: Cases by rules to use instead of matching cases to rules using newdata

cxr.newdata

(internal use) Data frame: Use these values to match cases by rules

cxr

Logical: If TRUE, return list which includes cases-by-rules matrix along with predicted values

cxrcoef

Logical: If TRUE, return cases-by-rules * coefficients matrix along with predicted values

verbose

Logical: If TRUE, print messages to console

...

Not used

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.