Re: [R] if statement

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Wed, 13 Jun 2007 08:53:55 -0400

See ?quantcut in the gtools package.

On 6/11/07, Jiong Zhang, PhD <jizhang_at_chori.org> wrote:
> Hi all,
>
> I have a rather naive question. I have the height of 100 individuals in
> a table and I want to assign the tallest 30% as Case=1 and the bottom
> 30% as Case=0. How do I do that?
>
> thanks.
>
> jiong
> The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message (and any attachments). Thank You.
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch 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_at_stat.math.ethz.ch 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 Wed 13 Jun 2007 - 12:59:32 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 Wed 13 Jun 2007 - 14:31:55 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.