Coercion Functions
Functions coercing various objects to objects of class party.
as.party(obj, ...) ## S3 method for class 'rpart' as.party(obj, data = TRUE, ...) ## S3 method for class 'Weka_tree' as.party(obj, data = TRUE, ...) ## S3 method for class 'XMLNode' as.party(obj, ...) pmmlTreeModel(file, ...) as.constparty(obj, ...) as.simpleparty(obj, ...) ## S3 method for class 'party' as.simpleparty(obj, ...) ## S3 method for class 'simpleparty' as.simpleparty(obj, ...) ## S3 method for class 'constparty' as.simpleparty(obj, ...) ## S3 method for class 'XMLNode' as.simpleparty(obj, ...)
All methods return objects of class party
.
## fit tree using rpart library("rpart") rp <- rpart(Kyphosis ~ Age + Number + Start, data = kyphosis) ## coerce to `constparty' as.party(rp)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.