I'm tryin to make a contingency table on R using the Melanoma data set from MASS package using Rcmdr.
local({
.Table <- xtabs(~sex+status+ulcer, data=Melanoma)
cat("\nFrequency table:\n")
print(.Table)
})
Every time i try to make a contingency table (also with other data sets) R tells me that the "numb" agument is invalid and it doesn't have a predefined value.