Hi, > I did read everything I could but could not understand everything. Hopefully with more programming > practice it will become more less.
Then maybe you read everything you could a bit too fast. Because the answer to your question is in the first document to read, "An introduction to R", section 5.8 : http://cran.r-project.org/doc/manuals/R-intro.html#Forming-partitioned-matrices -- Julien ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.