x <- rnorm(100)
y <- factor(abs(round(x*2)))
depDisplay(x, y)
## on the iris data
data(iris)
firstPair <- depDisplay(iris, pair = c(1,2))
## another way
firstPair2 <- depDisplay(iris, pair = c("Sepal.Length", "Sepal.Width"))
## a final way
firstPair2 <- depDisplay(iris, pair = "Sepal.Length:Sepal.Width")
Run the code above in your browser using DataLab