Achim Zeileis wrote:

On Wed, 8 Jun 2005 10:37:15 +0200 (CEST) Navarre Sabine wrote:


hi,

is it possible to create a matrix with one row and according to add a
row? in fact, at present, I'm doing an algorithm which fill a matrix.


I think you are looking for
  ?rbind
and might also be interested in looking at "An Introduction to R" or
other introductory manuals.


Achim is completely correct, I'd like to add:

If you do know the size of the matrix before your algorithm starts iterating, you should not use rbind() but generate a fullsize matrix at first and replace row by row afterwards.

Uwe Ligges



On the web site of CRAN, the package basic is impossible to be load!
can you tell me where i can found it!


You already asked this question yesterday (and received no reply because
it doesn't make sense). There is no package with the name "basic". There
is only the "base" package which is part of every distribution of R
(which I hope you have installed) and loaded at startup of R.
Z

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to