| 1. |
How Will You Create Scatter Plot Matrices In R Language? |
|
Answer» A matrix of scatter PLOTS can be produced USING pairs. Pairs function takes various parameters like formula, data, subset, labels, etc. The two key parameters required to build a scatter PLOT 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. A matrix of scatter plots can be produced using pairs. Pairs function takes various parameters like formula, data, subset, labels, etc. The two key parameters required to build a scatter plot 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. |
|