Displaying 1 result from an estimated 1 matches for "divisionnew".
Did you mean:
divisione
2007 Sep 04
3
variable format
...New England",
2, "Middle Atlantic",
3, "East North Central",
4, "West North Central",
5, "South Atlantic"),
ncol=2, byrow=T)
a$divisionNew[match(a$divisionOld, divisionTable[,1])] <- divisionTable[,2]
But how do I handle the case where...
a$divisionOld <- c(0,1,2,3,4,5) #no format available for 0, this throws an error.
OR
divisionTable <- matrix(c(1, "New England",
2, "Middle Atlan...