Now I have :)
Thanx a lot!
2010/4/8 David Winsemius
>
> On Apr 8, 2010, at 8:13 AM, Vlatka Matkovic Puljic wrote:
>
> Dear,
>>
>> my variable is numerical indicating how many times smb done test
>> summary(Q12)
>> Min. 1st Qu. MedianMean 3rd Qu.Max.NA's
>> 0. 0. 0.
On Apr 8, 2010, at 8:13 AM, Vlatka Matkovic Puljic wrote:
Dear,
my variable is numerical indicating how many times smb done test
summary(Q12)
Min. 1st Qu. MedianMean 3rd Qu.Max.NA's
0. 0. 0. 0.7989 1. 30. 66.
I want to change this to categories--> 0=
Dear,
my variable is numerical indicating how many times smb done test
summary(Q12)
Min. 1st Qu. MedianMean 3rd Qu.Max.NA's
0. 0. 0. 0.7989 1. 30. 66.
I want to change this to categories--> 0=none testing; 1:30=done testing (NA
excluded)
John, *cut(Q
Dear Vlatka,
It's impossible to know what the problem is without knowing something about
your data, which you didn't tell us either in this message or your
subsequent one.
The recode command should work:
> (x <- c(rep(0, 5), sample(1:30, 5, replace=TRUE)))
[1] 0 0 0 0 0 17 27 19 19 2
> r
On Apr 7, 2010, at 1:50 PM, Vlatka Matkovic Puljic wrote:
atomic [1:1578] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "levels")= chr "0=0,1:33=1"
Can you go back to where you got this data and start over? You have
made something that looks quite strange. It appears to be neither a
vector of mode a
On Apr 7, 2010, at 1:31 PM, Vlatka Matkovic Puljic wrote:
Hi,
I have numerical variable that I want to recode into categories '0'
and '1
and more' and do analysis with that data.
I have tried various of possibilities to do so, but I am sucked and
nothing
is working.
recode(Q12, "0='A';1
atomic [1:1578] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "levels")= chr "0=0,1:33=1"
2010/4/7 David Winsemius
>
> On Apr 7, 2010, at 1:31 PM, Vlatka Matkovic Puljic wrote:
>
> Hi,
>>
>> I have numerical variable that I want to recode into categories '0' and '1
>> and more' and do analysis with that d
7 matches
Mail list logo