bpairs: customized pairs plot

View source: R/bpairs.R

bpairsR Documentation

customized pairs plot

Description

pairs plot with cor in the lower panel (can handle NAs), nice hist on the diagonal, nice scatterplot in the upper panel. Based on the examples in pairs.

Usage

bpairs(df, main = NULL, pch = 16, col = addAlpha("blue"), ...)

Arguments

df

Data.frame. Can contain NAs. Character columns are excluded.

main

Title for the overall graph. DEFAULT: NULL (from input)

...

Further arguments passed to pairs

Value

invisible NULL

Author(s)

Berry Boessenkool, berry-b@gmx.de, Feb 2025

See Also

graphics::pairs

Examples

bpairs(mtcars[,1:5])
mtcarsNAs <- mtcars[,1:5]
mtcarsNAs[2,3] <- NA
mtcarsNAs[2:8,4] <- NA
bpairs(mtcarsNAs)
bpairs(iris)


brry/berryFunctions documentation built on Feb. 15, 2025, 12:10 a.m.