Can't find function "crosstable"

Hello,

I have loaded packages "gmodels" for crosstable.

However, it doesn't work when I type crosstable in Rstudio.

library(gmodels)
croostable(ET$age, ET$oocyte)

it shows
Error in crosstable(ET$age, ET$oocyte) :
could not find function "crosstable"

How can I do? Thank you

In your example you misspelled crosstable as croostable, but I believe the issue is it should be capitalized and actually be CrossTable(), so try this instead:

library(gmodels)
CrossTable(ET$age, ET$oocyte)

I finally type "getAnywhere" to solve this problem.

Thank you for your reply!

This topic was automatically closed 7 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.