Skip to content
Back to formatted view

Raw Message

Message-ID: <BCB019F368866A479696C25C8F0B3AEB039769B7@la-mail3.lordabbett.com>
Date: 2004-11-04T16:23:07Z
From: Bist, Sandip
Subject: Problems with Rpart

Hi,

Anyone had this problem.

I run a test Data aginst my fitted Rpart Object
  
pruned.prediction <- predict( pruned.modeltree, newdata = evaluation, type =
"prob",na.action= na.omit )
Warning message: 
'newdata' had 2019 rows but variable(s) found have 5865 rows 


My new data: evaluation has 2019 rows but the number of observation in my
rpart Object is 5865. ( This is the same number of rows in the DataSet I use
to build the rpart Object).

I had tried with explicitly removing all "NA" from DataSets but no help.


Thanks
Sandip