Re: [R] help with a simple function

2013-09-13 Thread wacguy
Thanks a lot!!, So nice to get such a fast reply and not having to break my head with it for a few more hours. much appreciated. Guy -- View this message in context: http://r.789695.n4.nabble.com/help-with-a-simple-function-tp4676026p4676051.html Sent from the R help mailing list archive at N

Re: [R] help with a simple function

2013-09-12 Thread arun
Hi, rownames(y_raw_mt)=y_raw[,1] ## y_raw not defined. set.seed(25) mat1<- matrix(sample(c(NA,1:20),100,replace=TRUE),20,5) #changed the function to process 'mat1'.  Also, it is better to read the file separately and check ?str(dt.table) before proceeding. write.table1=function(durty_data){