Displaying 2 results from an estimated 2 matches for "105286".
Did you mean:
10286
2011 Aug 03
10
conditional data replace (recode, change or whatsoever)
Hello,
I have a big data.frame, a piece of it as follows.
a b c d
1 58009 2010-11-02 0 NA
2 114761 NA 1 2008-11-05
3 184440 NA 1 2009-12-08
4 189372 NA 0 NA
5 105286 NA 0 NA
6 186717 NA 0 NA
7 189106 NA 0 NA
8 127306 NA 0 NA
9 157342 2011-04-25 0 NA
I want to replace b[NA] values with "20011-07-28" where c==0. I use rstudio
and i'm a novice.
--
View this message in context: http://r.789695...
2011 Aug 11
3
value.labels
Hello R people,
I have a "data.frame". Status variable has 3 values. 0->alive, 1->dead and
2->missed
Status as a factor have correct levels. Levels and labels output as follows;
levels(Adbf$status); labels(Adbf$status)
[1] "0" "1" "2"
[1] "1" "2" "3" "4" "5" "6"