Learn R Programming

mcprofile (version 0.0-9)

plot-methods: Methods for Function plot in Package `mcprofile'

Description

Display multiple contrast profiles, confidence intervals, and p-values.

Usage

## S3 method for class 'mcprofile,ANY':
plot(x, y, squared=FALSE, trans=identity, ...)
## S3 method for class 'mcpconfint,ANY':
plot(x, y, margin=NULL, pch=19, trans=identity, ...)
## S3 method for class 'mcptest,ANY':
plot(x, y, trans=identity, alpha=NULL, order=TRUE, ...)
## S3 method for class 'mcprofile,mcpconfint':
plot(x, y, squared=FALSE, trans=identity, ...)
## S3 method for class 'mcprofile,mcptest':
plot(x, y, squared=FALSE, trans=identity, ...)
## S3 method for class 'mcprofile,mcprofile':
plot(x, y, squared=FALSE,
trans=identity, ...)
## S3 method for class 'mcprofileRatio,ANY':
plot(x, y, squared=FALSE, trans=identity,
...)
## S3 method for class 'mcprofileRatio,mcpconfint':
plot(x, y, squared=FALSE, trans=identity, ...)
## S3 method for class 'mcprofileRatio,mcptest':
plot(x, y, squared=FALSE, trans=identity, ...)

Arguments

x
An object of class mcprofile, or mcprofileRatio
y
Missing, or an object of class mcpconfint, or mcptest
squared
Take the square of the signed root deviance
trans
Function to transform the x-axis, default identity
margin
Include values to the x-range of the confidence intervals plot
pch
Point character for point estimates in confidence interval plot
alpha
Add line at value of alpha in p-value plot
order
Order p-value bars by size
...
optional arguments to xyplot, or plot

Details

Function xyplot is used to display the profiles.