[R-sig-eco] SPEI index

2014-12-23 Thread Manuel Esteban Lucas Borja
(SPEI) SPEI - read.table(/Users/PALAN.txt, header=TRUE, sep=) str(SPEI) PET - thornthwaite(SPEI$Tm,40.0) spei(SPEI$PREC-PET,1) --- Manuel Esteban Lucas Borja Universidad de Castilla La Mancha Escuela T�cnica Superior de Ingenieros Agr�nomos y de Montes Departamento de Ciencia y Tecnolog

[R-sig-eco] Natural regeneration experiment using R

2015-03-30 Thread Manuel Esteban Lucas Borja
condition factor nested in the site factor is easier. Thank you so much. Any help is more than welcome. Manuel --- Manuel Esteban Lucas Borja Universidad de Castilla La Mancha Escuela Técnica Superior de Ingenieros Agrónomos y de Montes Departamento de Ciencia y Tecnología Agroforestal y Genética

Re: [R-sig-eco] Natural regeneration experiment using R

2015-03-30 Thread Manuel Esteban Lucas Borja
experiment design? Thank you very much, --- Manuel Esteban Lucas Borja Universidad de Castilla La Mancha Escuela T�cnica Superior de Ingenieros Agr�nomos y de Montes Departamento de Ciencia y Tecnolog�a Agroforestal y Gen�tica Campus Universitario s/n, C.P. 02071, Albacete (Spain) T�lf.; 967599200 ext

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

2020-03-22 Thread Manuel Esteban Lucas Borja
is the code for calculating correlation plots including a categorical variable, which will be them used for adding colours depending of the levels of this categorical factor? Thanks a lot for your advise, I really apreciate your help. Best Manuel Manuel Esteban Lucas Borja Profesor Contratado

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

2020-03-21 Thread Manuel Esteban Lucas Borja
Dear all, First of all, I hope this email will find you well. I am working with a biological dataset (please see in attachment) composed by 5 variables. The columns EMF, Biodiversity, MDS1 and MDS2 are numerical variables whereas T is a categorical one. I would like to obtain a

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

2020-03-22 Thread Manuel Esteban Lucas Borja
.22. 14:29 keltezéssel, Manuel Esteban Lucas Borja írta: > Dear Drew, > Thank you very much for your help. The thing is that when I import the > dataset containing categorical and numeric variables and then I want to > calculate the correlation graphic, Rstudio says that it

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

2020-03-22 Thread Manuel Esteban Lucas Borja
Gracias Salvador, I tried this but the question is that I would like to obtain a composite plot containing all the correlation, histograms and point colours depending on the treat variable. Thanks for your time All the best M [Logotipo UCLM]<http://www.uclm.es/> Manuel Esteban Lucas

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

2020-03-23 Thread Manuel Esteban Lucas Borja
gt; > Salvador > > > Salvador SÁNCHEZ-COLÓN > > An independent consultant > > Statistics, GIS, RS > > > > En Dom, 22 Marzo, 2020 en 16:42, Manuel Esteban Lucas Borja > escribió: > Para: Salvador SANCHEZ COLON > Cc: bfalevl...@gmail.com; r-sig-ecology@r-project.

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

2020-03-23 Thread Manuel Esteban Lucas Borja
; > Salvador > > > Salvador SÁNCHEZ-COLÓN > > An independent consultant > > Statistics, GIS, RS > > > > En Dom, 22 Marzo, 2020 en 16:42, Manuel Esteban Lucas Borja > escribió: > Para: Salvador SANCHEZ COLON > Cc: bfalevl...@gmail.com; r-sig-ecology@r-project.or

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

2020-03-23 Thread Manuel Esteban Lucas Borja
:41 Para: Manuel Esteban Lucas Borja CC: bfalevl...@gmail.com; r-sig-ecology@r-project.org Asunto: RE: [R-sig-eco] correlation plot in color Hi Manuel, I am glad that you managed to plot the correlation plots. Then, as for the colour argument, bg is the argument for setting the background

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

2020-03-22 Thread Manuel Esteban Lucas Borja
> “blue”)[codes(u$Treat)) Error: unexpected input in " “" Thanks a lot for your time! Best Manuel De: Salvador SANCHEZ COLON Enviado el: domingo, 22 de marzo de 2020 19:25 Para: Manuel Esteban Lucas Borja C

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

2020-03-23 Thread Manuel Esteban Lucas Borja
lation(Libro1[,1:4], histogram=F, pch=21, bg=palette[Libro1$Treat]) Best Manuel -Mensaje original- De: Mollie Brooks Enviado el: lunes, 23 de marzo de 2020 11:04 Para: Manuel Esteban Lucas Borja CC: Bede-Fazekas Ákos ; r-sig-ecology@r-project.org Asunto: Re: [R-sig-eco] correlation p

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

2020-03-23 Thread Manuel Esteban Lucas Borja
ata(iris))$Species) TRUE If is.factor(Libro1$Treat) is FALSE, then you should convert it from character to factor, before creating the color palette and calling chart.Correlation(): Libro1$Treat <- as.factor(Libro1$Treat) Have a nice week, Ákos 2020.03.23. 11:19 keltezéssel, Manuel Esteban Lucas

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

2020-03-23 Thread Manuel Esteban Lucas Borja
f is.factor(Libro1$Treat) is FALSE, then you should convert it from > character to factor, before creating the color palette and calling > chart.Correlation(): > Libro1$Treat <- as.factor(Libro1$Treat) > > Have a nice week, > Ákos > > 2020.03.23. 11:19 keltezéssel, Manuel Esteban Lu

Re: [R-sig-eco] SPEI index calculation

2020-01-27 Thread Manuel Esteban Lucas Borja
On 1/27/20, 10:41 AM, "R-sig-ecology on behalf of Manuel Esteban Lucas Borja" wrote: Dear all, I am trying to calculate SPEI index using Rstudio (please see data used below this email). First I calculated PET (latitude 40,29), and then I failed when asking for

[R-sig-eco] SPEI index calculation

2020-01-27 Thread Manuel Esteban Lucas Borja
Dear all, I am trying to calculate SPEI index using Rstudio (please see data used below this email). First I calculated PET (latitude 40,29), and then I failed when asking for SPEI index: spei(SPEI$PREC-PET,1). The only result I got is NA. Any idea about what´s wrong? Thanks for