[R] For loop help

Tom Blackwell tblackw at umich.edu
Sun Feb 22 21:53:02 CET 2004


Xian  -

I interpret this as a question about subscripting.
Read  help("Subscript"), help("Control").  Perhaps
the roughly 40 page pdf document "An Introduction to R"
(or something like that) found under "Manuals" on the
R home page would be helpful in getting started.

I don't understand enough of your question to give
a more specific answer.

-  tom blackwell  -  u michigan medical school  -  ann arbor  -

On Sun, 22 Feb 2004, li xian wrote:

> hello,
>
> I would like to do a for loop for matrix:
>
> Xm             Xm-1   ......      X1
> Xm+1         Xm      ......      X2
> .......................................
> .....................................
> Xn              Xn-1    ......      Xn-m+1
>
> How can I do  it in R?
>
> Thanks!!!
>
>
>
>
> ---------------------------------
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list