[R] vector generation

From: Juan Pablo Fededa <jpfededa_at_gmail.com>
Date: Thu, 24 Jan 2008 10:54:06 -0300

Dear Contributors:

I have the next vector:


z = (526, 0.1, 110, 0.2, 34, 0.4, 614, 0.5, 1, 14, 15)

I want to generate a vector containing the values higher than 1 corresponding to the z vector, wich in this case will mean to generate the next vector:

(526, 110, 34, 614, 14, 15)

If you have any clue on how to do that, I will be very glad to hear it!!!!!! Thanks in advance again,

        [[alternative HTML version deleted]]

R-help_at_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. Received on Thu 24 Jan 2008 - 13:56:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jan 2008 - 14:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive