Usage
yuen.test(x, ...)
## S3 method for class 'default':
yuen.test(x, y = NULL, tr = 0.2, alternative = c("two.sided", "less", "greater"),
mu = 0, paired = FALSE, conf.level = 0.95, ...)
## S3 method for class 'formula':
yuen.test(formula, data, subset, na.action, ...)
## S3 method for class 'paired':
yuen.test(x, ...)
Arguments
x
first sample or object of class paired.
tr
percentage of trimming.
alternative
alternative hypothesis.
mu
a number indicating the true value of the trimmed mean (or difference in trimmed means if you are performing a two sample test).
paired
a logical indicating whether you want a paired yuen's test.
conf.level
confidence level.
formula
a formula of the form y ~ f where y is a numeric variable giving the data values and f a factor with TWO levels giving the corresponding groups.
data
an optional matrix or data frame (or similar: see model.frame) containing the variables in the formula formula. By default the variables are taken from environment(formula).
subset
an optional vector specifying a subset of observations to be used.
na.action
a function which indicates what should happen when the data contain NAs. Defaults to getOption("na.action").
...
further arguments to be passed to or from methods.