MINI MINI MANI MO
%
% Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
%
\name{ore.predict-rpart}
\alias{ore.predict-rpart}
\alias{ore.predict,rpart-method}
\title{
使用 \code{\link[rpart]{rpart}} 模型的 Oracle R Enterprise 预测
}
\description{
用于使用 \code{\link[rpart]{rpart}} 模型生成预测的 Oracle R Enterprise
方法。
}
\usage{
\S4method{ore.predict}{rpart}(object, newdata,
type = c("vector", "prob", "class", "matrix"),
na.action = na.pass, ...)
}
\arguments{
\item{object}{
一个 \code{\link[rpart]{rpart}} 模型对象。
}
\item{newdata}{
一个 \code{\link[OREbase:ore.frame-class]{ore.frame}}
对象。
}
\item{type}{
一个用于指定要进行的预测的类型的字符串;
\code{"vector"}, \code{"prob"}, \code{"class"} 或
\code{"matrix"}。
}
\item{na.action}{
处理 \code{NA} 值的方式,
\code{na.omit} 或 \code{na.pass}。
}
\item{\dots}{
可选参数。
}
}
\value{
返回 \code{\link[OREbase:ore-class]{ore}} 子类的对象。
}
\references{
\href{http://www.oracle.com/technetwork/database/database-technologies/r/r-enterprise/documentation/index.html}{Oracle R Enterprise}
}
\author{
Oracle \email{oracle-r-enterprise@oracle.com}
}
\seealso{
\code{\link{ore.predict}},
\code{\link[rpart]{predict.rpart}}.
}
\examples{
library(rpart)
model <- rpart(Kyphosis ~ ., data = kyphosis)
KYPHOSIS <- ore.push(kyphosis)
KYPHOSIS <- cbind(KYPHOSIS, ore.predict(model, KYPHOSIS))
head(KYPHOSIS)
}
\keyword{models}
OHA YOOOO