search for: kryst

Displaying 2 results from an estimated 2 matches for "kryst".

Did you mean: krist
2017 Aug 10
0
Creating New Variable Using Ifelse
...2wbl[, "EVERRELJOB"] < -3, "EVERRELJOB"] <- NA > elsq2wbl [elsq2wbl[, "PSWBL"] < -2, "PSWBL"] <- NA If you wanted recode values below zero to NA you can do this easily without any ifelse > summary(test) mp tepl kryst Min. : 7.11 Min. :100.0 Min. : 21.70 1st Qu.:32.25 1st Qu.:400.0 1st Qu.: 24.15 Median :37.50 Median :500.0 Median : 26.55 Mean :38.44 Mean :485.7 Mean : 42.64 3rd Qu.:44.75 3rd Qu.:600.0 3rd Qu.: 33.62 Max. :76.02 Max. :900.0 Max. :150.00 NA's...
2017 Aug 10
3
Creating New Variable Using Ifelse
Hello R Help List, I am an R novice and trying to use the ifelse function to create a new binary variable based off of the responses of two other binary variables; NAs are involved. I pulled it off almost successfully, but when I checked the counts of my new variable for accuracy, I found that a small portion of the NA cases were not being passed through as NAs, but as "0" counts in my