2

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.

user20650
  • 24,654
  • 5
  • 56
  • 91
Giuseppe Minardi
  • 411
  • 4
  • 16

0 Answers0