Re: [R] about multi-optimal points

2017-08-26 Thread John
On Sat, 26 Aug 2017 12:38:35 -0600 lily li wrote: > Hi Ulrik, > > Thanks for your suggestion, but it was not what I meant. I tried to > use the rPref package but just got a very small sample and felt > clueless. > Lily, It would help if you could provide some additional detail. You're leaving

Re: [R] about multi-optimal points

2017-08-26 Thread lily li
Hi Ulrik, Thanks for your suggestion, but it was not what I meant. I tried to use the rPref package but just got a very small sample and felt clueless. On Sat, Aug 26, 2017 at 12:37 AM, Ulrik Stervbo wrote: > HI lily, > > for the colouring of individual points you can set the colour aesthetic.

Re: [R] about multi-optimal points

2017-08-25 Thread Ulrik Stervbo
HI lily, for the colouring of individual points you can set the colour aesthetic. The ID is numeric so ggplot applies a colour scale. If we cast ID to a factor we get the appropriate colouring. test_df <- data.frame(ID = 1:20, v1 = rnorm(20), v2 = rnorm(20), v3 = rnorm(20)) ggplot(data=test_df,