Skip to main content

All Questions

Tagged with
0 votes
1 answer
425 views

Plotting NMDS A continuous variable can not be mapped to shape ggplot2 but group variable seems to be character

I am trying to plot NMDS results using an example I found online. When I plot my group variable (which are 'S' and 'E') I get "Error in 'scale_f()': A continuous variable can not be mapped to ...
FishyFishies's user avatar
1 vote
1 answer
2k views

ggplot2: Reversing the standard color gradient for a continuous variable

I keep thinking that there must be an absolutely simple answer to my question, but I just can't seem to find it. Take this example plot: library(ggplot2) qplot(cty, displ, colour=displ, data=mpg) ...
d4ynn's user avatar
  • 27