Plasticity in resource use explains the persistence of the largest living rodent in anthropized environments