sed.
A.K.
- Original Message -
From: William Dunlap
To: bibek sharma ; "r-help@r-project.org"
Cc:
Sent: Tuesday, October 9, 2012 3:27 PM
Subject: Re: [R] Qustion about Creating a sequence of vector
> sequence(c(4,2,0,10))
[1] 1 2 3 4 1 2 1 2 3 4 5 6 7 8 9 10
roject.org
Cc:
Sent: Tuesday, October 9, 2012 2:54 PM
Subject: [R] Qustion about Creating a sequence of vector
Hello R User,
I have a data set where subject( Id) are frequently measured. For
example, the size of the data set is 75 by 2 and has following
frequency distribution.
id freq
1 30
2
uesday, October 09, 2012 11:54 AM
> To: r-help@r-project.org
> Subject: [R] Qustion about Creating a sequence of vector
>
> Hello R User,
> I have a data set where subject( Id) are frequently measured. For
> example, the size of the data set is 75 by 2 and has following
> freq
Hello R User,
I have a data set where subject( Id) are frequently measured. For
example, the size of the data set is 75 by 2 and has following
frequency distribution.
idfreq
1 30
2 20
3 25
I want to create a variable (say seq) containing sequential count for
each id. I mean va
4 matches
Mail list logo