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

From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>
Date: Thu 18 Aug 2005 - 07:42:23 EST

?rbind

Simone Gabbriellini wrote:
> 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



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:47:13 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:27:46 EST