Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.mctp

Visualizing the result of mctp


Description

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

Usage

## S3 method for class 'mctp'
plot(x,...)

Arguments

x

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

...

Arguments to be passed to methods.

Details

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

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

Value

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

Note

It is possible to create a graphical result of the multiple comparison test procedure directly by setting plot.simci=TRUE in the mctp-statement.

To get a complete result summary of mctp the function summary.mctp can be used.

Author(s)

Frank Konietschke, Kimihiro Noguchi

References

F. Konietschke, L.A. Hothorn, E. Brunner: Rank-Based Multiple Test Procedures and Simultaneous Confidence Intervals. Electronic Journal of Statistics, Vol.0 (2011) 1-8.

See Also

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

Examples

data(liver)
a<-mctp(weight ~dosage, data=liver, asy.method = "fisher",
        type = "Dunnett", alternative = "two.sided", plot.simci = FALSE, 
        info = FALSE)
plot(a)

nparcomp

Multiple Comparisons and Simultaneous Confidence Intervals

v3.0
GPL
Authors
Frank Konietschke [aut, cre], Kimihiro Noguchi [ctr], Kerstin Rubarth
Initial release
2019-06-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.