Re: [R] how to tabulate the prediction value using table function for naive baiyes in R

2010-06-30 Thread Steve Lianoglou
Hi, On Wed, Jun 30, 2010 at 11:44 AM, Aadhithya wrote: > > Hi, > I have written a code in R for classifying microarray data using naive > bayes, the code is given below: > library(e1071) > train<-read.table("Z:/Documents/train.txt",header=T); > test<-read.table("Z:/Documents/test.txt",header=T);

[R] how to tabulate the prediction value using table function for naive baiyes in R

2010-06-30 Thread Aadhithya
Hi, I have written a code in R for classifying microarray data using naive bayes, the code is given below: library(e1071) train<-read.table("Z:/Documents/train.txt",header=T); test<-read.table("Z:/Documents/test.txt",header=T); cl <- c(c(rep("ALL",10), rep("AML",10))); cl <- factor(cl) mode