Results 1 to 3 of 3

Math Help - Need help with R code

  1. #1
    ixi
    ixi is offline
    Newbie
    Joined
    Oct 2007
    Posts
    15

    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
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Jan 2009
    Posts
    591
    You should have procedure to change the default number of colors available.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    ixi
    ixi is offline
    Newbie
    Joined
    Oct 2007
    Posts
    15
    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
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. R-code help!
    Posted in the Math Software Forum
    Replies: 0
    Last Post: November 11th 2011, 09:01 AM
  2. Code
    Posted in the Algebra Forum
    Replies: 1
    Last Post: October 9th 2011, 01:08 AM
  3. Code.
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: March 19th 2011, 09:51 AM
  4. Code help
    Posted in the Discrete Math Forum
    Replies: 0
    Last Post: November 24th 2009, 09:42 AM
  5. C++ code?
    Posted in the Math Software Forum
    Replies: 7
    Last Post: August 19th 2008, 02:05 PM

Search Tags


/mathhelpforum @mathhelpforum