predict.metacart: Predictions from a fitted metacart object

Description Usage Arguments Value

Description

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

Usage

1
2
## S3 method for class "metacart"
predict(x, newdata)

Arguments

x:

fitted model object of class "metacart".

newdata:

data frame containing the values at which predictions are required.

Value

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


XinruLI/FEmrt documentation built on May 9, 2019, 11:06 p.m.