Jul 28, 2019 in R Language
Q: How will you create scatterplot matrices in R language?

1 Answer

0 votes
Jul 28, 2019
A matrix of scatterplots can be produced using pairs. Pairs function takes various parameters like formula, data, subset, labels, etc.

The two key parameters required to build a scatterplot matrix are –

formula- A formula basically like ~a+b+c . Each term gives a separate variable in the pairs plots where the terms should be numerical vectors. It basically represents the series of variables used in pairs.

data- It basically represents the dataset from which the variables have to be taken for building a scatterplot.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance