Need help with R code
I'm trying to create a scatterplot matrix and i got an error
I used this -->
scatterplot.matrix(~mfgfirms+popn+precip+raindays+ temp+wind | SO2, reg.line=FALSE,smooth=FALSE, span=0.5, diagonal = 'density', by.groups=TRUE, data=USAir, row1attop=FALSE)
And I got this error:
Error: number of groups exceeds number of available colors
You should have procedure to change the default number of colors available.
How would I do that?
Or could you direct me to a page that could show me what to do?
I'm new at this