Learn R Programming

nparcomp (version 3.0)

plot.nparcomp: Visualizing the result of nparcomp

Description

This function takes an object of class "nparcomp" and creates a plot of the confidence intervals for the estimated nonparametric contrast effects.

Usage

# S3 method for nparcomp
plot(x,...)

Arguments

x

An object of class "nparcomp", i.e. the result when applying nparcomp to a dataset. Otherwise an error will occur.

...

Arguments to be passed to methods.

Value

plot.nparcomp returns a graph that contains a confidence interval for the estimated nonparametric contrast effect of each contrast. It just visualizes the result of the nparcomp-statement.

Details

It is not possible to change any parameter set in the nparcomp-statement.

Since plot.nparcomp is a S3 method it suffices to use plot(x) as long as x is of class "nparcomp". It will be interpreted as plot.nparcomp(x).

References

Konietschke, F., Brunner, E., Hothorn, L.A. (2008). Nonparametric Relative Contrast Effects: Asymptotic Theory and Small Sample Approximations.

Munzel. U., Hothorn, L.A. (2001). A unified Approach to Simultaneous Rank Tests Procedures in the Unbalanced One-way Layout. Biometric Journal, 43, 553-569.

See Also

For further information on the usage of nparcomp, see nparcomp.

Examples

Run this code
# NOT RUN {
data(liver)
a<-nparcomp(weight ~dosage, data=liver, asy.method = "probit", 
            type = "Williams", alternative = "two.sided", 
            plot.simci = FALSE, info = FALSE)
plot(a)
# }

Run the code above in your browser using DataLab