| plot | R Documentation |
plot ~~ Plot an object of class paired.
## S4 method for signature 'paired'
plot(x, groups=NULL,subjects=NULL,
facet=TRUE,type=c("correlation","BA","McNeil","profile"),...)
x |
a paired object created by the
|
groups |
a factor (optional). |
subjects |
subjects name. |
facet |
faceting or grouping strategy for plotting? |
type |
type of the plot (correlation, Bland-Altman, McNeil or profile plot). |
... |
arguments to be passed to methods. |
an graphical object of class ggplot.
data(HorseBeginners) pd1<-with(HorseBeginners,paired(Actual,Imaginary)) plot(pd1) plot(pd1,type="BA") plot(pd1,type="McNeil") plot(pd1,type="profile") data(Shoulder) with(Shoulder,plot(paired(Left,Right),groups=Group)) with(Shoulder,plot(paired(Left,Right),groups=Group,facet=FALSE)) with(Shoulder,plot(paired(Left,Right), groups=Group,facet=FALSE,type="profile"))+theme_bw()