search for: houseswithcod

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

Did you mean: houseswithcodes
2009 Oct 19
2
Using grep to determine value of last letter...
...low. Regarding the codes, I would like to identify the value of the last character and then take the appropriate action, e.g. If the value is L then label UL rating XXX It the value is F then label UL rating YYY ... I assume it will be something like the following: grep("last letter", HousesWithCodes$Codes) Thanks again for any insights. BuildYear<-c(1980, 1985, 1975, 1990, 1980) SqrFootage<-c(1500, 1650, 1500, 2000, 1450) Exterior<-c("Brick", "Stone", "Siding", "Brick", "Siding") SubdivisionHouses<-data.frame(BuildYear, SqrFo...