Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Amazing! Problem solved. Thanks again for your priceless help All the best, Manuel -Mensaje original- De: R-sig-ecology mailto:r-sig-ecology-boun...@r-project.org>> En nombre de Bede-Fazekas Ákos Enviado el: lunes, 23 de marzo de 2020 18:46 Para:

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Bede-Fazekas Ákos
Dear Manuel, the warning is saying that pairs() should be called without the histogram parameter. But the problem of black point symbols is caused by another thing: you chose a pch that has only color (col) but has no background/filling color (bg). Let's choose a pch value from the 21:25

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Bede-Fazekas Ákos
Dear Manuel, and what happens if you use pairs() instead of chart.Correlation()? Is it colored? If yes, then it is a possible bug in function chart.Correlation(). Best, Ákos 2020.03.23. 17:20 keltezéssel, Manuel Esteban Lucas Borja írta: Thanks Ákos, I did as you mentioned:

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Thanks Ákos, I did as you mentioned: > is.factor(libro1$Treat) [1] FALSE > libro1$Treat <- as.factor(libro1$Treat) > palette <- setNames(object = c(“red”, “green3”, “black”, “blue”), nm = levels > (Libro1$Treat)) > chart.Correlation(libro1[,1:4], histogram = T, pch = 19, bg = >

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Bede-Fazekas Ákos
Dear Manuel, are you sure that Libro1$Treat is really a categorical column (instead of character)? The example code that you sent us works for categorical data: is.factor(get(data(iris))$Species) TRUE If is.factor(Libro1$Treat) is FALSE, then you should convert it from character to factor,

Re: [R-sig-eco] Diversity analysis

2020-03-23 Thread Ellen Pape
Hi, check out the R package "iNEXT". There's a good introduction to the package: https://cran.r-project.org/web/packages/iNEXT/vignettes/Introduction.html. best wishes, Ellen On Mon, 23 Mar 2020 at 07:48, Luis Fernando García wrote: > Dear all, > > I hope all of you are well with the current

[R-sig-eco] Online stats course with on-demand video and live meetings: Data Exploration, Regression, GLM & GAM with introduction to R

2020-03-23 Thread Highland Statistics Ltd
We would like to announce the following online statistics course: Online course with on-demand video and live Zoom meetings: 'Data Exploration, Regression, GLM & GAM with introduction to R' Remark: The course fee includes a 1-hour face-to-face video chat with one or both instructors. When:

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Mollie Brooks
It looks like the quotes are the fancy type (I can’t remember the official word for that). Try deleting and retyping all the quotes in that command. cheers, Mollie > On 23Mar 2020, at 10:52, Manuel Esteban Lucas Borja > wrote: > > Thanks Bede-Fazekas Ákos, > Thanks a lot for your help. >

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Thanks Mollie, I have retyped all commands but nothing happens at the end. No error backs and no colour in correlations plots. > palette<-setNames(object = c("red", "green3", "black", "blue"), > nm=levels(Libro1$Treat)) > chart.Correlation(Libro1[,1:4], histogram=F, pch=21,

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Dear Bede-Fazekas, I changed " by ' as I wrote below and nothing happens. No error back but the plot in not in colours. > palette <- setNames(object = c ('red', 'green3', 'black', 'blue'), nm > =levels(w$Treat)) > chart.Correlation(Libro1[,1:4], histogram = F, pch = 19, >

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Thanks Salvador, Let see if I am able to fix it with the help of specialist Best Manuel Por favor, no imprima este documento si no es estrictamente necesario. Cuidar el medioambiente es responsabilidad de todos. Este mensaje de correo electrónico puede contener información confidencial de la

Re: [R-sig-eco] correlation plot in color

2020-03-23 Thread Manuel Esteban Lucas Borja
Thanks Bede-Fazekas Ákos, Thanks a lot for your help. I have installed also the library (colorspace) I got the following error: > palette <- setNames(object = c(“red”, “green3”, “black”, “blue”), nm > =levels(u$Treat)) Error: unexpected input in "palette <- setNames(object = c(“" What can

[R-sig-eco] Diversity analysis

2020-03-23 Thread Luis Fernando García
Dear all, I hope all of you are well with the current situation. This time I'm writing you to ask for a suggestion. I am very interested about comparing the diversity and other ecological parameters of five environments using the Hill numbers. I have found some packages to do this, however some