Problem with correlog() function in

Welcome, and sorry about your problem! It's not clear what you're trying to do and what issue you're having, also we don't have access to the data in your example.

A good way to pose this kind of question is with a reproducible example (FAQ: What's a reproducible example (`reprex`) and how do I create one?). It really helps folks here help you out.