Slide 104 causes code error

Front Page Forums Clustering and finding patterns Slide 104 causes code error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #18105

    The call to ggpairs shown on slide 104 causes R to return an error indicating that the “params =” call has been deprecated and that a wrap() function should be used instead.

    What does that mean and how do I figure out how to use ggpairs?


    Hi JayC,

    Thank you for your comment – the params() function is deprecated in the latest version of R. I recommend you take out that argument entirely, and just use ggpairs on the data set that you want to use. This means that it won’t have the color orange, but it should work. Let me know if you need any more support!



    I figured out the wrap function (I think). The call looks something like this:

    lower = list(continuous = wrap(“smooth”, color = “orange”)),
    diag = list(continuous = wrap(“barDiag”, color = “blue”)))

    which creates orange and blue bars.


    Nicely done! We will update the code in the materials to reflect this change.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.