plot.sci.ratio {mratios} | R Documentation |
Plot the intervals returned by sci.ratio
## S3 method for class 'sci.ratio': plot(x, rho0 = 1, rho0lty=2, rho0lwd=1, rho0col="black", CIvert = FALSE, CIlty = 1, CIlwd = 1, CIcex = 1, main = NULL, ylab = NULL, xlab = NULL, sub = NULL, ...)
x |
an object of class "sci.ratio" as can be obtained by calling the function sci.ratio |
rho0 |
a single numeric value or vector of values defining the hypothesized ratio |
rho0lty |
integer values to specify the line type for the rho0 line(s) |
rho0lwd |
integer values to specify the line width for the rho0 line(s) |
rho0col |
character vector to specify the colour for the rho0 line(s) |
CIvert |
logical, CI are plotted horizontal if CIvert=FALSE and vertical otherwise |
CIlty |
numeric value, giving the line type of the plotted confidence interval, see argument lty in ?par |
CIlwd |
numeric value, giving the line width of the plotted confidence interval, see argument lwd in ?par |
CIcex |
a single numeric value: by which amount the symbols in the CI shall be scaled relative to the default (see argument cex in ?par) |
main |
character string to be plotted as main title of the plot |
ylab |
character string, label of the y axis (ignored if CIvert=TRUE) |
xlab |
character string, label of the x axis (ignored if CIvert=FALSE) |
sub |
as in plot |
... |
further arguments from plot or par, e.g. cex.axis |
Too long names of the contrasts/comparisons should be avoided, otherwise use par() to change plot parameters.
A plot of the confidence intervals in the sci.ratio object.
Frank Schaarschmidt
plot.hmtest(multcomp)
library(mratios) data(angina) aCI<-sci.ratio(response~dose, data=angina, type="Dunnett", alternative="greater") # Visualize testing for superiority plot(aCI, rho0=1.25, rho0lty=3)