Last chance! 50% off unlimited learning
Sale ends in
score
. By default, score
is chosen
as the group numbers.
prop.trend.test(x, n, score = seq_along(x))
"htest"
with title, test statistic, p-value,
etc.
prop.test
smokers <- c( 83, 90, 129, 70 )
patients <- c( 86, 93, 136, 82 )
prop.test(smokers, patients)
prop.trend.test(smokers, patients)
prop.trend.test(smokers, patients, c(0,0,0,1))
Run the code above in your browser using DataLab