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
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
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
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
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
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
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
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?
>
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
___
9 matches
Mail list logo