20.20 比例趋势检验 prop.trend.test

Performs \(\chi^2\) test for trend in proportions, i.e., a test asymptotically optimal for local alternatives where the log odds vary in proportion with score. By default, score is chosen as the group numbers.

usage(prop.trend.test)
prop.trend.test(x, n, score = seq_along(x))