[R] "unbind" matrix?

ManInMoon xmoon2000 at googlemail.com
Thu Mar 18 16:06:56 CET 2010


Sorry David,

Here's cut down version of my function - real version does some fancy plot
formatting.

I have found a way round my problem because cbind will bind vectors and
matrices into a single matrix, which I can work with. It is not the answer I
was looking for - but it does the job.

Many thanks...


Myfunc<-function(...) {
 parms<-cbind(...)
 for (i in 1:ncol(parms)) {
   plot(parms[,i])
 }
}
-- 
View this message in context: http://n4.nabble.com/unbind-matrix-tp1597887p1598089.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list