[R] Directive for first and last array arguments

2010-10-18 Thread Alaios
Hello everyone,
could you help me learn if there are any directives that can be used to address 
the first and last element of a matrix array?

I would like to thank you in advance for your help

Best Regards
Alex


  
[[alternative HTML version deleted]]

__
R-help@r-project.org 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.


Re: [R] Directive for first and last array arguments

2010-10-18 Thread Santosh Srinivas
X[1,1] .. first
x[NROW(x),NCOL(x)] for last element and so on 

Is this what you need?




-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Alaios
Sent: 18 October 2010 15:59
To: Rhelp
Subject: [R] Directive for first and last array arguments

Hello everyone,
could you help me learn if there are any directives that can be used to
address 
the first and last element of a matrix array?

I would like to thank you in advance for your help

Best Regards
Alex


  
[[alternative HTML version deleted]]

__
R-help@r-project.org 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.

__
R-help@r-project.org 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.


Re: [R] Directive for first and last array arguments

2010-10-18 Thread Alaios
yep. Thanks a lot

Best
Alex






From: Santosh Srinivas santosh.srini...@gmail.com

Sent: Mon, October 18, 2010 1:14:26 PM
Subject: RE: [R] Directive for first and last array arguments

X[1,1] .. first
x[NROW(x),NCOL(x)] for last element and so on 

Is this what you need?




-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Alaios
Sent: 18 October 2010 15:59
To: Rhelp
Subject: [R] Directive for first and last array arguments

Hello everyone,
could you help me learn if there are any directives that can be used to
address 
the first and last element of a matrix array?

I would like to thank you in advance for your help

Best Regards
Alex


  
[[alternative HTML version deleted]]

__
R-help@r-project.org 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.


  
[[alternative HTML version deleted]]

__
R-help@r-project.org 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.