is.REEMtree: Is a RE-EM tree object

View source: R/EMtree-functions.r

is.REEMtreeR Documentation

Is a RE-EM tree object

Description

This function tests whether an object is of the REEMtree class.

Usage

   is.REEMtree(object)

Arguments

object

any R object

Value

TRUE if the object is of the REEMtree type

Author(s)

Rebecca Sela rsela@stern.nyu.edu

References

Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

Examples

data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
is.REEMtree(REEMresult)

REEMtree documentation built on Oct. 25, 2023, 1:08 a.m.