predict.FEmrt {metacart}R Documentation

Predictions from a fitted metacart object

Description

Returns a data frame of predicted effect sizes and moderators from a fitted metacart object

Usage

## S3 method for class 'FEmrt'
predict(object, newdata, ...)

Arguments

object

fitted model object of class "FEmrt".

newdata

data frame containing the values at which predictions are required.

...

Arguments that pass to other methods.

Value

A data frame containing the predicted effect size, the moderators, and the corresponding node lables in the fitted tree.


[Package metacart version 2.0-3 Index]