mypairs: My scatterplot matrix

View source: R/mypairs.R

mypairsR Documentation

My scatterplot matrix

Description

A matrix of scatterplots is produced; it's similar to graphics::pairs(), but with only the upper triangle is made.

Usage

mypairs(x, ...)

Arguments

x

A numeric matrix or data frame.

...

Passed to the plot() function.

Details

This is like the function graphics::pairs(), but only the upper triangle is produced.

Value

None.

See Also

graphics::pairs()

Examples

v <- rbind(c(1,0.5,0.2),c(0.5,1,0.9),c(0.2,0.9,1))
x <- rmvn(500, rep(5,3), v)
mypairs(x, col=sample(c("blue","red"), 500, repl=TRUE))


broman documentation built on May 29, 2024, 7:18 a.m.

Related to mypairs in broman...