Re: [R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Uwe Ligges
: amy_4_5...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] Error in object$tables[[v]] : subscript out of bounds On 14.03.2010 11:55, Amy Hessen wrote: Hi, Could you please tell me how I correct the following error message? “Error in object$tables[[v]] : subscript out of bounds” Th

Re: [R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Uwe Ligges
...@statistik.tu-dortmund.de To: amy_4_5...@hotmail.com CC: r-help@r-project.org Subject: Re: [R] Error in object$tables[[v]] : subscript out of bounds On 14.03.2010 11:55, Amy Hessen wrote: Hi, Could you please tell me how I correct the following error message? “Error in object$tables[[v]]

Re: [R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Amy Hessen
tistik.tu-dortmund.de > To: amy_4_5...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] Error in object$tables[[v]] : subscript out of bounds > > > > On 14.03.2010 19:12, Amy Hessen wrote: > > > > > > > > > > Hi Uwe, > > Thanks for

Re: [R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Amy Hessen
> Date: Sun, 14 Mar 2010 15:30:36 +0100 > From: lig...@statistik.tu-dortmund.de > To: amy_4_5...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] Error in object$tables[[v]] : subscript out of bounds > > > > On 14.03.2010 11:55, Amy Hessen wrote: > > >

Re: [R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Uwe Ligges
On 14.03.2010 11:55, Amy Hessen wrote: Hi, Could you please tell me how I correct the following error message? “Error in object$tables[[v]] : subscript out of bounds” This is the code: library(e1071) data(iris) attach(iris) class_label<- names(iris)[1] This is not the name for the class

[R] Error in object$tables[[v]] : subscript out of bounds

2010-03-14 Thread Amy Hessen
Hi, Could you please tell me how I correct the following error message? “Error in object$tables[[v]] : subscript out of bounds” This is the code: library(e1071) data(iris) attach(iris) class_label <- names(iris)[1] myformula <- formula(paste(class_label,"~ .")) mymodel<-naiveBayes(myform