scatterMat | R Documentation |
Create a matrix of scatter plots, with each row and each variable containing one variable
scatterMat(df, colNames, rowNames, corMethod = "spearman", lineColor = "black")
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"? |
scatterMat(iris, colNames = c('Sepal.Width','Petal.Width'),c('Sepal.Length','Petal.Length'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.