Re: [R] descretizing xy data

From: Jon A <jonny99_at_u.washington.edu>
Date: Mon, 03 Nov 2008 11:15:36 -0800 (PST)

Thanks a lot Eric, that worked great. Sorry about not posting the data. Jon

Jon A wrote:
>
> Hello,
> I have a dataset with a continuous independent variable (fish length,
> range: 30-150 mm) and a binary response (foraging success, 0 or 1). I want
> to discretize fish length into 5 mm bins and give the proportion of
> individuals who successfully foraged in each each size bin. I have used
> the cut function to discretize the length values into my desired bins, but
> I can't figure out how to manipulate my response data in terms of the
> levels I've created. Any advice on how to achieve my task?
>
> Thanks in advance.
>
>
>

-- 
View this message in context: http://www.nabble.com/descretizing-xy-data-tp20307871p20308744.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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 Mon 03 Nov 2008 - 21:07:12 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 Tue 04 Nov 2008 - 00:30:21 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