Last chance! 50% off unlimited learning
Sale ends in
catt(y, x, score = c(0, 1, 2))
y
must have values of 1 for event, 0 for no event. prop.trend.test
y <- sample(c(0, 1), 100, replace = TRUE)
x <- sample(c(0, 1, 2), 100, replace = TRUE)
catt(y, x)
Run the code above in your browser using DataLab