This is a code that my group partner sent me. If its relevant, she works on an Apple laptop and mine is Windows. All the other codes say the exact same thing and I'm not sure what the problem is. I would really appreciate some help.
Age is indeed undefined.
Age
Is HEADS a data.frame? In that case, try with table(HEADS$Age).
HEADS
table(HEADS$Age)
Or, run the attach(HEADS) part after the names(...) call, and then try table(Age).
attach(HEADS)
names(...)
table(Age)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.