R/g2plotdifxy.R

g2plotdifxy <-
function(x,y,xlab="Difference",ylab=""){
#
# Plot an estimate of the distribution of X-Y
#
x<-x[!is.na(x)]
y<-y[!is.na(y)]
m<-as.vector(outer(x,y,FUN="-"))
akerd(m,xlab=xlab,ylab=ylab)
}
musto101/wilcox_R documentation built on May 23, 2019, 10:52 a.m.