model.frame.causalTree {htetree}R Documentation

Intermediate function for causalTree

Description

get model frame of causalTree, same as rpart

Usage

## S3 method for class 'causalTree'
model.frame(formula, ...)

Arguments

formula

a formula, with a response but no interaction terms. If this is a data frame, it is taken as the model frame (see model.frame).

...

arguments to rpart.control may also be specified in the call to causalTree. They are checked against the list of valid arguments. An example of a commonly set parameter would be xval, which sets the number of cross-validation samples. The parameter minsize is implemented differently in causalTree than in rpart; we require a minimum of minsize treated observations and a minimum of minsize control observations in each leaf.

Value

a model frame for causalTree.


[Package htetree version 0.1.18 Index]