My question didn't transfer through.
I have a PCA plot and there are four groups all with Shape 4; however, the
default colours are hard to distinguish. I am wanting to change the colour or
shape of select groupings to make it easier. My code is below.
> ggplot(soilall2, aes(PC1, PC2, col = Radar.Plot.Group, fill =
Radar.Plot.Group)) + stat_ellipse(geom = "polygon", col =
"black", alpha = 0.5) + geom_point(shape = 4)
Amber Kobes, P.Geo., B.Sc.
Mobile: 780.214.0718
Direct: 780-874-6226
-----Original Message-----
From: Sarah Goslee <sarah.goslee at gmail.com>
Sent: Thursday, March 5, 2020 1:56 PM
To: Amber Kobes <akobes at summitearth.com>
Cc: r-help at r-project.org
Subject: Re: [R] Shape / Colour Configuration
[EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the
sender and know the content is safe.
Without an actual question, it's hard to know what you want.
But take a look at hullplot in the dbscan package.
Sarah
On Thu, Mar 5, 2020 at 3:54 PM Amber Kobes <akobes at summitearth.com>
wrote:>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Sarah Goslee (she/her)
http://www.numberwright.com