[R] newbie- how to add a row to a matrix

From: Simone Gabbriellini <ogabbrie_at_tin.it>
Date: Thu 18 Aug 2005 - 07:27:36 EST


dear list,
if I have a matrix

s<-matrix(1:5, ncol=5)

how can I add another row with other data to that matrix?

thank you,
simone



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 Received on Thu Aug 18 07:37:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:50 EST