On Fri, Jul 29, 2011 at 11:26 AM, wrote:
> data=read.table("http://statcourse.com/research/boston.csv";, ,
> sep=",", header = TRUE)
> library(rpart)
> fit=rpart (MV~ CRIM+ZN+INDUS+CHAS+NOX+RM+AGE+DIS+RAD+TAX+
> PT+B+LSTAT)
> predict(fit,data[4,])
>
> plot only reve
data=read.table("http://statcourse.com/research/boston.csv";, ,
sep=",", header = TRUE)
library(rpart)
fit=rpart (MV~ CRIM+ZN+INDUS+CHAS+NOX+RM+AGE+DIS+RAD+TAX+
PT+B+LSTAT)
predict(fit,data[4,])
plot only reveals part of the tree in contrast to the results on obtai
2 matches
Mail list logo