Re: [R] Customizing plot

2021-02-07 Thread PIKAL Petr
ss = "factor")), class = "data.frame", row.names = c(NA, 12L)) > -Original Message- > From: R-help On Behalf Of Mahmood > Naderan-Tahan > Sent: Friday, February 5, 2021 4:45 PM > To: r-help@r-project.org > Subject: [R] Customizing plot > >

Re: [R] Customizing plot

2021-02-05 Thread Duncan Murdoch
On 05/02/2021 10:44 a.m., Mahmood Naderan-Tahan wrote: Hi, 1- How can I assign different colors to different observations in the PCA chart? Assume, I have 10 observations and I want to use black color for the first 5 and read for the next 5 observations. Currently, I use  res.pca = PCA(m

[R] Customizing plot

2021-02-05 Thread Mahmood Naderan-Tahan
Hi, 1- How can I assign different colors to different observations in the PCA chart? Assume, I have 10 observations and I want to use black color for the first 5 and read for the next 5 observations. Currently, I use  res.pca = PCA(mydata[,1:37], scale.unit=TRUE, graph=T)  plot(res.pca,ax

[R] Customizing plot

2021-02-05 Thread Mahmood Naderan-Tahan
Hi, 1- How can I assign different colors to different observations in the PCA chart? Assume, I have 10 observations and I want to use black color for the first 5 and read for the next 5 observations. Currently, I use res.pca = PCA(mydata[,1:37], scale.unit=TRUE, graph=T) plot(res.pca,axes=

Re: [R] customizing plot, Vegan CCA

2012-04-12 Thread Gavin Simpson
On Wed, 2012-03-28 at 01:43 -0700, millerjeremya wrote: > I’m working on a canonical correspondence analysis using Vegan. > I’m new to this. I would like to control the shapes and colors for each of > my individual display points and can’t figure out the syntax. This comes up so often it is /the

[R] customizing plot, Vegan CCA

2012-03-28 Thread millerjeremya
I’m working on a canonical correspondence analysis using Vegan. I’m new to this. I would like to control the shapes and colors for each of my individual display points and can’t figure out the syntax. Here is the script I am using. It comes from Numerical Ecology in R by Bocard et al. windows(t