In R, the iris table contains the following attributes:
- Sepal.Length
- Sepal.Width
- Petal.Length
- Petal.Width
- Species
I have learned that it's possible to use the following package to view a scatter plot of 2 values only in the dataset which are Sepal.Length & Sepal.Width in this case:
library(ggvis)
iris %>% ggvis(~Sepal.Length, ~Sepal.Width, fill = ~Species) %>%
layer_points()
My question is as follows: I need to have the scatter plot but for the the first 4 attributes in the dataset to represent the species. How can this be done?
If not in R, is there any other tool that can do this?
r scatterplot matrix
orr ggplot2 scatterplot matrix
should get you started. - Paul Hiemstra