Re: [R] select element from vector

2011-02-26 Thread Uwe Ligges



On 25.02.2011 12:37, zem wrote:


Hi Jessica,

try this: Q[k:c(k+3)]



1. You have written to the R-help mailing list rather than to "Jessica". 
Please answer also directly: not all posters are on the mailing list.

2. Please quote the original question.

Uwe Ligges

__
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] select element from vector

2011-02-25 Thread zem

Hi Jessica,

try this: Q[k:c(k+3)]
-- 
View this message in context: 
http://r.789695.n4.nabble.com/select-element-from-vector-tp3323725p3324286.html
Sent from the R help mailing list archive at Nabble.com.

__
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.