censMulticomp.test: Multiple Comparisons

View source: R/censMulticomp.test.R

censMulticomp.testR Documentation

Multiple Comparisons

Description

Performs a multiple nonparametric comparison test among groups of left-censored data.

Usage

censMulticomp.test(x, groups, method = "holm", alpha = 0.05)

Arguments

x

the observations the data are forced to class "lcens." Missing values (NAs) are allowed and removed before the test is performed.

groups

any group vector for the observations. Missing values (NAs) are allowed and removed before the test is performed.

method

the method for adjustment of p-value. See p.adjust for options and details.

alpha

the significance level of the test.

Value

An object of class "censMCT."

Note

need some kind of general description.

References

Helsel, D.R. 2012, Statistics for censored environmental data using Minitab and R: New York, Wiley, 324 p.

See Also

censKSample.test

Examples


set.seed(69)
Xu <- rlnorm(22, 0, 1)
Yu <- rlnorm(22, .4, 1)
Zu <- rlnorm(22, 1, 1)
Gu <- factor(rep(c("X", "Y", "Z"), each=22))
# Censor the data at 1
censKSample.test(as.lcens(c(Xu, Yu, Zu), 1), Gu)
censMulticomp.test(as.lcens(c(Xu, Yu, Zu), 1), Gu)


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.