79235243

Date: 2024-11-28 20:33:04
Score: 1.5
Natty:
Report link

If the problem was the unused levels of a factor not available in the new dataset, it seems appropriate to drop them with the droplevels() function. For example:

levels(droplevels(P17.sp@data$Pack))

Note: to make your example reproductible, it would be great to get access to the data. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cmoreno