Practically speaking, peccaries (javelina) are not in the same family as pigs, but they are more closely related to pigs than they are to the rodents. If you put their relationship on a scale of 0 to 10, with rodents being zero and pigs being 10, peccaries are at about 7 or 8.