zelen | R Documentation |
zelen()
performs the Zelen test and is used in chapter 13 of "Applied Nonparametric Statistical Methods" (5th edition)
zelen(x, y, z, max.exact.perms = 1e+06, do.exact = TRUE)
x |
Binary factor of same length as y, z |
y |
Binary factor of same length as x, z |
z |
Factor of same length as x, y |
max.exact.perms |
Maximum number of permutations allowed for exact calculations (defaults to |
do.exact |
Boolean indicating whether or not to perform exact calculations (defaults to |
An ANSMtest object with the results from applying the function
# Section 13.2.5 from "Applied Nonparametric Statistical Methods" (5th edition)
zelen(ch13$drug, ch13$side.effects, ch13$age.group)
# Example 13.3 from "Applied Nonparametric Statistical Methods" (5th edition)
zelen(ch13$machine, ch13$output.status, ch13$material.source)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.