search for: water_evaluation_select

Displaying 1 result from an estimated 1 matches for "water_evaluation_select".

2009 Sep 25
2
grep or other complex string matching approach to capture necessary information...
Say I have the following data: house_number<-floor(runif(100, 200, 600)) water_evaluation<-c("No water damage", "Water damage", "Water On", "Water off", "water pipes damaged", "leaking water") water_evaluation_selection<-floor(runif(100, 1,6)) house_info<-data.frame(water_evaluation[water_evaluation_selection], house_number) And, that I only want to pull out the ones with negative water evaluations, i.e. Water damage, water pipes damaged, and leaking water. Should/could I use gr...