scatterMat: Create a matrix of scatter plots, with each row and each...

View source: R/scatterMat.R

scatterMatR Documentation

Create a matrix of scatter plots, with each row and each variable containing one variable

Description

Create a matrix of scatter plots, with each row and each variable containing one variable

Usage

scatterMat(df, colNames, rowNames, corMethod = "spearman", lineColor = "black")

Arguments

df

Data frame

colNames

Character vector of variable names to create the columns of the correlation matrix

rowNames

Character vector of variable names to create the rows of the correlation matrix

corMethod

Should the reported correlation be "pearson" or "spearman"?

Examples


scatterMat(iris, colNames = c('Sepal.Width','Petal.Width'),c('Sepal.Length','Petal.Length'))


akcochrane/ACmisc documentation built on Nov. 24, 2024, 11:22 a.m.