Hi, and welcome.
A reproducible example, called a reprex will help provide more helpful answers. In R
, there are quite a few packages with functions named freq
, so it's difficult to know exactly what's going on.
The gist of the message is that the function freq
didn't do anything with data$edlevel
.