7 0
#5 dave 2000-01-08 1
#6 dave 2000-01-10 3
#7 kevin 2000-01-02 0
#8 kevin 2000-01-03 1
#9 kevin 2000-01-04 2
A.K.
- Original Message -
From: Marcel Curlin
To: r-help@r-project.org
Cc:
Sent: Thursday, September 27, 2012 1:16 AM
Subject: [R] Calculating number
On 27-09-2012, at 07:16, Marcel Curlin wrote:
> Hi
> I have data for events in rows, with columns for person and date. Each
> person may have more than one event;
>
> tC <- textConnection("
> Persondate
> bob 1/1/00
> bob 1/2/00
> bob 1/3/00
> dave 1/7/00
> dave 1/8/00
> dave
On 27/09/12 17:16, Marcel Curlin wrote:
Hi
I have data for events in rows, with columns for person and date. Each
person may have more than one event;
tC <- textConnection("
Person date
bob 1/1/00
bob 1/2/00
bob 1/3/00
dave1/7/00
dave1/8/00
dave1/10/00
kevin 1/2/00
kev
Hi
I have data for events in rows, with columns for person and date. Each
person may have more than one event;
tC <- textConnection("
Person date
bob 1/1/00
bob 1/2/00
bob 1/3/00
dave1/7/00
dave1/8/00
dave1/10/00
kevin 1/2/00
kevin 1/3/00
kevin 1/4/00
")
data <- rea
4 matches
Mail list logo