Re: [R] Binning Data and Event rates

2017-04-17 Thread David L Carlson
versity -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon Sent: Monday, April 17, 2017 4:59 PM To: prateek pande Cc: r-help mailing list Subject: Re: [R] Binning Data and Event rates Hi Pateek, Try this: ppdat<-read.table(text="Values Churn 21

Re: [R] Binning Data and Event rates

2017-04-17 Thread Jim Lemon
Hi Pateek, Try this: ppdat<-read.table(text="Values Churn 21 1 22 1 31.2 1 32 1 35 0 43 1 45 0 67 1 67 0 76 0 89 1", header=TRUE) ppdat$Valbin<-cut(ppdat$Values,breaks=c(20.9,43.7,66.3,89

[R] Binning Data and Event rates

2017-04-17 Thread prateek pande
I have a data, in the form mentioned below. Values Churn 21 1 22 1 31.2 1 32 1 35 0 43 1 45 0 67 1 67 0 76 0 89 1 Now i want to bin the values variables into bins and corresponding that want the ch

Re: [R] Binning data

2011-03-12 Thread David Winsemius
On Mar 12, 2011, at 11:35 PM, johnbeamer wrote: Hello I have a large series of data value -- effectivly say the point across the x-axis where a pitch crosses home plate. What I want to do is find the % of ground balls at various distances across home plate. I therefore need to 'bin' the

[R] Binning data

2011-03-12 Thread johnbeamer
Hello I have a large series of data value -- effectivly say the point across the x-axis where a pitch crosses home plate. What I want to do is find the % of ground balls at various distances across home plate. I therefore need to 'bin' the two data sets I have - plate location for ground balls an

[R] binning data from NMR

2011-01-31 Thread Marcelo Lima
Hey there, I have a matrix which is from NMR data (first column represents the ppm values and the subsequent their respective intensities for my various samples) that I would like to bin. Make every 10 points ( on my x axis) become one by averaging them out. Any suggestions? Thanks! -- Marcelo A

Re: [R] binning data

2008-01-14 Thread Rolf Turner
On 15/01/2008, at 5:13 AM, Robert Terwilliger wrote: > I would like to 'bin' a vector of of values (>10 values) in much > the same way as 'hist' does for plotting, but I just want a result > with the bins and the frequencies. > > Is there a 'quick and dirty' (built-in) way to do this, or do I

Re: [R] binning data

2008-01-14 Thread Marc Schwartz
Robert Terwilliger wrote: > I would like to 'bin' a vector of of values (>10 values) in much > the same way as 'hist' does for plotting, but I just want a result > with the bins and the frequencies. > > Is there a 'quick and dirty' (built-in) way to do this, or do I need > to write some code? >

[R] binning data

2008-01-14 Thread Robert Terwilliger
I would like to 'bin' a vector of of values (>10 values) in much the same way as 'hist' does for plotting, but I just want a result with the bins and the frequencies. Is there a 'quick and dirty' (built-in) way to do this, or do I need to write some code? Many thanks, Robert Terwilliger ___