Ctree {ModelGood}R Documentation

S3 wrapper function for party's ctree method

Description

S3 wrapper function for party's ctree method

Usage

Ctree(...)

Arguments

...

passed to ctree

Details

The ModelGood crossvalidation functionality works only for S3 classes.

Value

object of class Ctree which contains a ctree object

Author(s)

Thomas A. Gerds <tag@biostat.ku.dk>

See Also

ctree

Examples

library(party)
set.seed(7)
x <- abs(rnorm(20))
d <- data.frame(y=rbinom(20,1,x/max(x)),x=x,z=rnorm(20))
ct <- Ctree(y~x+z,d)
plot(ct$ctree)
predictStatusProb(ct,newdata=d[1:3,])

[Package ModelGood version 1.0.9 Index]