[R] Two Factors and a Numeric Variable in a Plot

2011-02-09 Thread Rodrigo Aluizio
3 B B04_R1 0.974706 4 B B04_R2 0.966461 4 B B04_R3 0.949697 4 B B05_R1 0.958339 5 B B05_R2 0.952168 5 B B05_R3 0.96301 5 B Thank you very much. Regards. --- MSc. <mailto:r.alui...@gmail.com> R

[R] Postscript function Bug at R x64 2.12.1?

2011-01-11 Thread Rodrigo Aluizio
Hi, a correction in the previous script. Anyone who tries to use it must ignore (remove) the [,-7] after the Grupos object. Sorry. De: Rodrigo Aluizio [mailto:r.alui...@gmail.com] Enviada em: terça-feira, 11 de janeiro de 2011 11:01 Para: R Help Assunto: Postscript function Bug at R x64

[R] Postscript function Bug at R x64 2.12.1?

2011-01-11 Thread Rodrigo Aluizio
rsion nodename machine login "Windows" "7 x64" "build 7600" "RODRIGO-PC" "x86-64" "Rodrigo" user "Rodrigo" Hope you can help me find out what is going on! Regards -

Re: [R] RES: Barplot with "Independent" Lines Y axis

2010-12-11 Thread Rodrigo Aluizio
Well, at least I could help (even if unintentionally), as a compensation for all the help I got from the list. Cheers. Em sexta-feira, 10 de dezembro de 2010, Jim Lemon escreveu: > On 12/10/2010 08:48 PM, Rodrigo Aluizio wrote: > > OK that's it. Working nicely. I sent the final

Re: [R] RES: Barplot with "Independent" Lines Y axis

2010-12-10 Thread Rodrigo Aluizio
gt;> Point RainSalt >> Fev/03 365.6 13 >> Mar/03 235 18 >> Abr/03 115.1 18 >> Mai/03 47.4 18.75 >> Jun/03 112 15 >> Jul/03 156.8 17 >> Ago/03 66.115 >> Set/03 149.8 14 >> Out/03 167,1 11.5 >> Nov/03 269.

[R] RES: Barplot with "Independent" Lines Y axis

2010-12-09 Thread Rodrigo Aluizio
-feira, 9 de dezembro de 2010 17:57 Para: Rodrigo Aluizio; 'R Help' Assunto: RE: [R] Barplot with "Independent" Lines Y axis Without seeing a reproducible example we cannot be sure, but my guess is that you are letting twoord.plot set the limits and the function does not remove mi

[R] RES: Barplot with "Independent" Lines Y axis

2010-12-09 Thread Rodrigo Aluizio
this time it's not a choice of mine (unfortunately). Thank you anyway for the highlight, maybe it will help me arguing. Regards Rodrigo. -Mensagem original- De: Greg Snow [mailto:greg.s...@imail.org] Enviada em: quinta-feira, 9 de dezembro de 2010 15:56 Para: Rodrigo Aluizio; R Help

[R] Barplot with "Independent" Lines Y axis

2010-12-09 Thread Rodrigo Aluizio
p=c(0,370,10)) lines(mp,Dados$Salt,type='b',pch=19,lty='dotted') Any ideas? Thank you for the attention. Regards ----------- MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR ___

[R] Lottery with Data Frame Rows

2010-10-07 Thread Rodrigo Aluizio
on and sorry for the silly question. --- MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posti

[R] RODBC and Excel 2010 xlsx

2010-07-13 Thread Rodrigo Aluizio
my system components (drivers)? Thank you very much for the attention. Rodrigo Aluizio [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:

Re: [R] [R-sig-Geo] How to extract coordinates values from a shapefile?

2010-06-09 Thread Rodrigo Aluizio
I'm not sure if this is what you want. But the function coordinates() in sp package gives you the coordinates of SpatialObjects. Regards. Rodrigo. 2010/6/9 Nikhil Kaza > You need to execute gpclibPermit() to enable gpclib. > > library(maptools) should have issued a warning to that effect. > >

Re: [R] Extract a 'data.frame$column' column name

2010-05-03 Thread Rodrigo Aluizio
Well, it's may not be the best way to do so, but you may use this: colnames(foo[n]) where n is the column number, or the column name inside '' ''. The $ can't be used because it turn the column content into a vector, loosing its "properties" (e.g.: column and row names). But when you using [], t

Re: [R] add euro sign to a plot

2010-03-21 Thread Rodrigo Aluizio
Hi Martin, here as example code that may help you to get what you want (once you didn't specified were in the plot you want the symbol). plot(1:10) title(main= "\u20ac", font = 5) Ps.: This coding may differ between operational system, this one worked in a Windows Vista 32 bits. This works for al

Re: [R] WMF conversion...

2010-02-10 Thread Rodrigo Aluizio
Or maybe another output image format, such as tiff or png? 2010/2/10 Uwe Ligges > > > On 10.02.2010 13:16, Jason Rupert wrote: > >> Hello R-Help, >> >> I've got a bit of an issue with WMF's. I am working on WindowsXP and >> outputting WMF format images. I then take the WMF format images and

[R] Edit a Sptial Lines Object

2010-01-27 Thread Rodrigo Aluizio
insert the coordinates that will close the BP[1] line into this object without changing the object properties. Any Ideas? Thank you in advance. - MSc. Rodrigo Aluizio <mailto:r.alui...@gmail.com> Centro de Estudos do Ma

[R] Embed Fonts in All EPS files inside a Directory

2009-12-22 Thread Rodrigo Aluizio
R2HTML_1.59-1 Hmisc_3.7-0 [5] survival_2.35-8 loaded via a namespace (and not attached): [1] cluster_1.12.1 grid_2.10.1 lattice_0.17-26 svMisc_0.9-56 [5] tools_2.10.1 - MSc. <mailto:r.alui...@gmail.com> Rodri

[R] Cochran C Test - Homogeneity of Variances

2009-12-08 Thread Rodrigo Aluizio
’s probably the Cochran Q Test. So, any ideas? Thank you for the pacience. - MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia [[alternative HTML v

[R] Rarefaction Curve by Individuals not Sites - vegan (specaccum)

2009-11-13 Thread Rodrigo Aluizio
,lwd=2,ci.lty=0,ci.type= 'poly',ci.col='lightgray',ylab='Riqueza',ylim=c(0,250),yaxp=c(0,250,10),bty= 'n',main='Fauna Viva - Bacia de Campos - Março 2009') Thank you very much. Regards. -----------

[R] RES: RES: Plot

2009-10-06 Thread Rodrigo Aluizio
,sep=''),c('Days','Hum','Temp')),byrow=F)) Data$Hum<-as.numeric(Data$Hum) Data$Temp<-as.numeric(Data$Temp) Then you can plot it. -----Mensagem original- De: joris meys [mailto:jorism...@gmail.com] Enviada em: terça-feira, 6 de outubro de 2009 12:08

[R] RES: Plot

2009-10-06 Thread Rodrigo Aluizio
This may work for you. Then you can custom your graphics with ?par. Data<-as.data.frame(matrix(c("Monday", "Tuesday", "Wed", "Thu", "Fri", "Sat","Sun",56,57,60,75,62,67,70,76,77,81,95,82,77,83),ncol=3,nrow=7,list(pa ste('Row',1:7,sep=''),c('Days','Hum','Temp')),byrow=F)) plot(Data$Days,Data$Temp)

[R] Best R text editors?

2009-08-30 Thread Rodrigo Aluizio
Well, on Linux => Emacs+ Ess On Windows => Tinn-R - MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia __ R-help@r-project.org mailing list

[R] Change the Order of a Cluster Topology

2009-08-30 Thread Rodrigo Aluizio
------- MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - Brasil [[alternative HTML version deleted]] _

[R] ENC: postscript, options

2009-08-18 Thread Rodrigo Aluizio
I'm not shure but I guess that you miss a " and putted it in the wrong place! Try this: postscript("/pathto/filename.eps",horizontal=FALSE,onefile=FALSE) Hope It helps. -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Em nome de e-letter Enviada e

Re: [R] How to Import Excel file into R 2.9.0 version

2009-08-11 Thread Rodrigo Aluizio
Hi, take a look at the gdata package (any plataform) function read.xls(), and at the package RODBC (if you are on a Windows Plataform) at the functions odbcConnectExcel(), odbcConnectExcel2007() and sqlFetch(). Hope this helps Rodrigo. 2009/8/11 rajclinasia > > Hi Every one, > I have a problem

[R] RES: Saving plots to file

2009-08-10 Thread Rodrigo Aluizio
You can save plots as specified below. For details see ?png, ?postscrip, ?tiff, ?jpeg, ?bmp. postscript(file = ifelse(onefile, "Rplots.ps", "Rplot%03d.ps"), onefile, family, title, fonts, encoding, bg, fg, width, height, horizontal, pointsize, paper, pagecentre, pr

[R] Import xlsx file in Ubuntu 9.04

2009-07-08 Thread Rodrigo Aluizio
Hi list, By the entire last 2 weeks I was looking for a way to directly import xlsx files to R in a Linux OS (Ubuntu 9.04). I already read the R Import/Export guide, and I know how to use gdata to import xls files and read.table to import .csv. My problem is that all data that I receive is in the x

Re: [R] RODBC: Trying to read an Excel file

2009-06-25 Thread Rodrigo Aluizio
names=F) mo Hope it helps. --------- MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - Brasil -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-pr

Re: [R] Post-Hoc Test for Kruskal-Wallis Rank Sum Test

2009-06-19 Thread Rodrigo Aluizio
Thank you so much Gilles, that is exactly what I’m looking for. Rodrigo. De: LE PAPE Gilles [mailto:lepape.gil...@neuf.fr] Enviada em: sexta-feira, 19 de junho de 2009 10:14 Para: r.alui...@gmail.com Assunto: Post-hoc test Hi Rodrigo, you can use the nparcomp function, library(nparcom

[R] Post-Hoc Test for Kruskal-Wallis Rank Sum Test

2009-06-19 Thread Rodrigo Aluizio
to define a way to it. Do You have any suggestion? Other equivalent test maybe! Thanks in advance. - MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia A

[R] Arc/Info Ungenerate - shp - Maps

2009-06-03 Thread Rodrigo Aluizio
Aluizio Assunto: Re: [R] Arc/Info Ungenerate - shp - Maps Hi Aluizio have you tryed to rename .dat to .e00? sometimes this can help the arcgis understand the format. I never done this. good luck milton On Wed, Jun 3, 2009 at 8:17 AM, Rodrigo Aluizio wrote: Hi list. I would like to

[R] Arc/Info Ungenerate - shp - Maps

2009-06-03 Thread Rodrigo Aluizio
. - MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - Brasil [[alternative HTML version d

[R] RES: Most used R editors

2009-06-02 Thread Rodrigo Aluizio
Well, on windows an excellent and free software for R scrip editing is Tinn-R. Works on XP and Vista and it is constantly reviewed and updated. Rodrigo. -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Em nome de Peter Flom Enviada em: terça-fei

[R] Bubble Plot Over a Map

2009-05-07 Thread Rodrigo Aluizio
200],Pontos$lat[Spp10ml[,i]>=51 & Spp10ml[,i]<=200],pch=23,bg='yellow',col='black',cex=1.5) points(Pontos$long[Spp10ml[,i]>=201 & Spp10ml[,i]<=400],Pontos$lat[Spp10ml[,i]>=201 & Spp10ml[,i]<=400],pch=22,bg='orange',col='black',cex=1.

[R] RES: Text Contrast in a Plot

2009-04-24 Thread Rodrigo Aluizio
nsagem original- De: Greg Snow [mailto:greg.s...@imail.org] Enviada em: sexta-feira, 24 de abril de 2009 18:23 Para: Rodrigo Aluizio; R Help Assunto: RE: [R] Text Contrast in a Plot Try this function as one approach: shadowtext <- function(x, y=NULL, labels, col='white', bg=

[R] Text Contrast in a Plot

2009-04-24 Thread Rodrigo Aluizio
5,-4.56,-36.111,-4.565,density=NULL,angle=45,col='white',border=' black',lwd=0.1) text(c(-36.20,-36.155,-36.111,-36.215),c(-4.573,-4.573,-4.573,-4.562),c('0', '5','10','km'),col='white',cex=1) Norte(-36.155,-4.60,0.02) box(which=

[R] RES: How to force axis to have the same range

2009-04-20 Thread Rodrigo Aluizio
Hi Sebastien, take a look at the par(pty='s') argument. Maybe its can solve your issue. Best wishes. Rodrigo. -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Em nome de Sebastien Bihorel Enviada em: segunda-feira, 20 de abril de 2009 12:26 Para:

[R] RES: Plot Means Line with Standard Deviation as "Whiskers"

2009-03-24 Thread Rodrigo Aluizio
ilto:palsp...@hortresearch.co.nz] Enviada em: segunda-feira, 23 de março de 2009 19:55 Para: Rodrigo Aluizio; R Help Assunto: RE: [R] Plot Means Line with Standard Deviation as "Whiskers" Tena koe Rodrigo You could always make up some data and then show us what you have tried to do. I would guess y

[R] Plot Means Line with Standard Deviation as "Whiskers"

2009-03-23 Thread Rodrigo Aluizio
lui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - Brasil Fone: (0**41) 3455-3620 ramal 217 Fax: (0**41) 3455-3623 [[alternative HTML version d

[R] RES: set a legend with an "image" graph

2009-03-17 Thread Rodrigo Aluizio
Luis, take a look at the ?legend function, it can produce almost any kind of legend you may need! Hope It helps. Rodrigo. -Mensagem original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Em nome de Luis Ridao Cruz Enviada em: terça-feira, 17 de março de 2009 11:

Re: [R] read.xls question

2009-03-15 Thread Rodrigo Aluizio
Take a look on it at the CRAN web site. Hope it helps. Best wishes. __ Rodrigo Aluizio Em 15/03/2009, às 00:27, "Mathew, Abraham T" escreveu: I'm an R newbie and had a question about the read.xls function. I've heard that this is often not a reliable functi

[R] RES: North Arrow (.png file) on a Map

2009-03-11 Thread Rodrigo Aluizio
Thanks a lot Yihui, It's perfect, in fact exactly identical the I have as a png file in my computer. Thank you so much. Regards Rodrigo -Mensagem original- De: Yihui Xie [mailto:xieyi...@gmail.com] Enviada em: quarta-feira, 11 de março de 2009 02:48 Para: Rodrigo Aluizio Cc: R

[R] North Arrow (.png file) on a Map

2009-03-10 Thread Rodrigo Aluizio
='2'],col='yellow',cex=0.5,font=2) text(Coord$Longitude[Coord$Réplicas=='3'],Coord$Latitude[Coord$Réplicas=='3' ],rownames(Coord)[Coord$Réplicas=='3'],col='blue',cex=0.5,font=2) points(Coord$Longitude,Coord$Latitude-0.045,pch=20,cex=0.7)

[R] RES: read a xls file

2009-01-18 Thread Rodrigo Aluizio
ample') odbcClose(Dados) library(xlsReadWrite) setwd('C:/Documents and Settings/Administrador/Meus documentos/Artigos/Disserta/') Abio<-read.xls('AF.xls',sheet=1,rowNames=T) Bio<-read.xls('AF.xls',sheet=2,rowNames=T) SAbio<-decostand(Abio,method='stan

[R] RES: Customized LDA (MASS) object plot

2009-01-04 Thread Rodrigo Aluizio
riginal- De: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] Enviada em: domingo, 4 de janeiro de 2009 11:15 Para: Rodrigo Aluizio Cc: R Help Assunto: Re: [R] Customized LDA (MASS) object plot Hmm: what do you want to do that a customized panel function cannot do? plot.lda does not accept typ

[R] Customized LDA (MASS) object plot

2009-01-04 Thread Rodrigo Aluizio
question is: How could I reach these axis coordinates inside my object (supposing they are there somewhere, once the plot.lda and pairs.lda are able to plot them)? Thanks in advance. ___ MSc. <mailto:r.alui...@gmail.com> Rodrigo Aluizio Centro de Estudos do Ma

[R] RES: How do I plot multiple XY plots on the same graph

2009-01-01 Thread Rodrigo Aluizio
Also, you can take a look at ?matplot function, depending on the type of data and graphic output you want, it may b useful. Best Wishes ___ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000

[R] Plotting a kriging on a map

2008-12-04 Thread Rodrigo Aluizio
rgb(229,229,229,max=255),add=T) axis(1,xaxp=c(,,)) axis(2,yaxp=c(,,)) points(Pontos$long,Pontos$lat,pch=20) text(Pontos$long,Pontos$lat,rownames(Pontos),pos=1,cex=0.5) text(Prof$Long,Prof$Lat,rownames(Prof),col='darkgray',cex=0.8,srt=-24) Ps.: Sorry for hiding the maps coordin

Re: [R] 1-Pearson's R Distance

2008-11-28 Thread Rodrigo Aluizio
Claudia, Thomas and William thank you all so much. It's exactly what we needed. Works perfectly. Rodrigo. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Claudia Beleites Enviada em: quinta-feira, 27 de novembro de 2008 14:01 Para: r-help@r-project.org Assun

[R] 1-Pearson's R Distance

2008-11-27 Thread Rodrigo Aluizio
e… He told me that Statistica 7.0 has this Index, but he doesn’t own it. So… Is there a way on R to do this correctly? Thanks for the attention. ___ MSc. <mailto:[EMAIL PROTECTED]> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontol

[R] RES: S4 object

2008-11-26 Thread Rodrigo Aluizio
Take a look at the links you will found on this previous post of the list. http://tolstoy.newcastle.edu.au/R/help/06/01/18259.html I myself don't know anything about this subject. Sorry, but you probably will found what you need there. Best Wishes Rodrigo. -Mensagem original- De: [EMA

Re: [R] Dendrogram labels

2008-11-21 Thread Rodrigo Aluizio
Take a look at the las() function o ?par. It permits you to choice labels directions. __ Rodrigo Aluizio Em 21/11/2008, às 17:14, "Richardson, Patrick" <[EMAIL PROTECTED] g> escreveu: !#x000a Is there any way to change the orientation of the labels on

[R] RES: Symbols output

2008-11-18 Thread Rodrigo Aluizio
Sorry, the code is incomplete. You get a better result this way... postscript('Circle.eps',paper='special',width=4,height=4) par(mar=c(0,0,0,0)) plot.new() points(0.5,0.5,pch=21,cex=50,bg='gray') dev.off() -----Mensagem original- De: Rodrigo Aluizio [mailto

[R] RES: Symbols output

2008-11-18 Thread Rodrigo Aluizio
A fast and simple way to do that would be something like this (the example is a gray circle) postscript('Circle.eps') par(mar=c(0,0,0,0)) plot.new() points(0.5,0.5,pch=21,cex=50,bg='gray') dev.off() You just have to chance the symbol (pch) and color (bg), the output will be an EPS file, open it o

[R] RES: PostScript File Dimensions

2008-11-15 Thread Rodrigo Aluizio
m original- De: David Winsemius [mailto:[EMAIL PROTECTED] Enviada em: sábado, 15 de novembro de 2008 15:57 Para: Rodrigo Aluizio Cc: R Help Assunto: Re: [R] PostScript File Dimensions You may be new to R but that does not mean you should stay "new" to the help pages. It looks as t

[R] PostScript File Dimensions

2008-11-15 Thread Rodrigo Aluizio
with other plots I’ve done. Thank you for the attention. ___________ MSc. <mailto:[EMAIL PROTECTED]> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - BRASIL [[alternative HTML version

[R] RES: Multiple XY Lines Plot

2008-11-11 Thread Rodrigo Aluizio
Philipp you actually solved my problem when you mentioned matplot function. I hadn't read anything about it before, when you mentioned I searched and I'm getting what I need, now it's just a question of minor adjustments. Below is a simple solution that I will now improve. matplot(Perfil$3.W,Perf

[R] Multiple XY Lines Plot

2008-11-11 Thread Rodrigo Aluizio
AIL PROTECTED]> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - BRASIL [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] RES: R Mixed Anova

2008-11-06 Thread Rodrigo Aluizio
ch + Line, random = ~ 1 | Block/Strata) T.lmemod <- lme(response ~ (Season + Beach + Line)^2, random = ~ 1 | Block/Strata) anova(T.lmemod) ?anova.lme ## Use package multcomp for doing post-hoc analysis. Regards, Mark. Rodrigo Aluizio wrote: > > Hi list, I was searching how to properly write

[R] R Mixed Anova

2008-11-06 Thread Rodrigo Aluizio
, and be able to run post hoc tests. Thanks for your attention and patience. ___ MSc. <mailto:[EMAIL PROTECTED]> Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR -

[R] RES: Barplot Labels Problem

2008-11-05 Thread Rodrigo Aluizio
Sorry for don't make the data available. My bad. But anyway the Richard's fourth solution works quite well. Thank you very much! Rodrigo. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 5 de novembro de 2008 10:59 Para: Rodrigo

[R] Barplot Labels Problem

2008-11-05 Thread Rodrigo Aluizio
='solid',horiz=T,beside=T,las=1,col=c('lightgray','bl ack'),main='Main Speceis') legend('topright',c('Living Fauna','Dead Fauna'),fill=c('lightgray','black'),bty='n') Thanks for your attention

Re: [R] Barplot Labels Problem

2008-10-26 Thread Rodrigo Aluizio
g and searching. Rodrigo. -- From: "Jim Lemon" <[EMAIL PROTECTED]> Sent: Saturday, October 25, 2008 9:16 AM To: "Rodrigo Aluizio" <[EMAIL PROTECTED]> Cc: "R Help" Subject: Re: [R] Barplot Labels Problem Rodrig

[R] Barplot Labels Problem

2008-10-24 Thread Rodrigo Aluizio
,las=1, legend.text=T,width=5,cex.names=0.8) Thank you for your attenction. ___ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paraná - PR - BRASIL [[alternative HTML version deleted]] ___

[R] Avoiding Biplot Labels Overllaping

2008-10-23 Thread Rodrigo Aluizio
x27;,cex=0.6,lwd=0.5,lty='dotted') Well it's data manipulation, I won't use that... So... Any one knows how to move the labels, keeping the vectors position on a cca-like biplot? Thanks for your attention!

[R] Avoiding Biplot Labels Overllaping

2008-10-23 Thread Rodrigo Aluizio
.5,lty='dotted') Well it's data manipulation, I won't use that... So... Any one knows how to move the labels, keeping the vectors position on a cca-like biplot? Thanks for your attention! ___ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Labo

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
2] * -1 plot(vare.cap) for(i in c(2:8)) vare.cap$CCA[[i]][, 1:2]<-vare.cap$CCA[[i]][, 1:2] * -1 plot(vare.cap) Cheers, Mark. Rodrigo Aluizio wrote: Well this time I have to assume, I'm not understanding what is wrong now. And I have to say: 'Thank You for your patience', cause

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
]][,2]<-CAPpotiFTI," ## Using your example to switch axis 1. Make sure that CAPpotiFT exists and is your ## original object. Copy and paste the lines below into your R console window and run CAPpotiFTI <- CAPpotiFT for(i in c(2:8,15)) CAPpotiFTI$CCA[[i]][, 1]<-CAPpotiFTI$CCA[[i]][, 1]

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
$CCA[[i]][, 2] <- mynew,cca$CCA[[i]][, 2] * -1 plot(mynew.cca) ## This does axis 1 for (i in 2:8) mynew.cca$CCA[[i]][, 1] <- mynew,cca$CCA[[i]][, 1] * -1 Regards, Mark. Rodrigo Aluizio wrote: Ok Mark, it worked for the species. I still get an error if I try with biplot (cn,sp), but it

[R] Similarity Percentage Analysis

2008-10-07 Thread Rodrigo Aluizio
Just as a curiosity. Is there on R any function able to run a SimPer (Similarity Percentage Analysis)? It's an analysis of the Primer software. I guess, but I'm not sure! I was looking for it on CRAN, but I didn't found anything. _______ MSc. Rodrigo Al

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
Temp.data$sites[, 2] <- Temp.data$sites[, 2] * -1 Temp.data$species[, 2] <- Temp.data$species[, 2] * -1 Temp.data$centroid[, 2] <- Temp.data$centroid[, 2] * -1 Do this for all the things you are plotting whose axes you want reversed. Check this against your original plot to ensure that the mir

Re: [R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
object and yax = obj[, 2] (xax being obj[, 1]). Obviously, copying isn't necessary. mynew.cca <- my.cca mynew.cca$scores$species[, 2] <- my.cca$scores$species[, 2] * -1 mynew.cca$scores$sites[, 2] <- my.cca$scores$sites[, 2] * -1 mynew.cca$scores$centroids[, 2] <- my.cca$scores$centroids

[R] Mirror Image on Biplot Graphic

2008-10-07 Thread Rodrigo Aluizio
,],pch=20) points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='3',],pch=22,bg='gray') points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='4',],pch=24) points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='5',],pch=24,bg='black') points(ScoresCAPFT$sites[Fato

[R] Mirror Image on Biplot Graphic

2008-10-03 Thread Rodrigo Aluizio
,],pch=20) points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='3',],pch=22,bg='gray') points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='4',],pch=24) points(ScoresCAPFT$sites[FatoresRep$BiofaciesBC=='5',],pch=24,bg='black') points(ScoresCAPFT$sites[Fato

Re: [R] Saving a TukeyHSD object as a table

2008-09-18 Thread Rodrigo Aluizio
Nevermind people, I just got it easily just realized that what I wanted is inside the object. So... write.xls(TukeySS$Biofacies,'TukeySS.xls') Solved the problem. Thanks anyway. From: Rodrigo Aluizio Sent: Thursday, September 18, 2008 6:06 PM To: R Help Subject: Saving a TukeyHSD

[R] Saving a TukeyHSD object as a table

2008-09-18 Thread Rodrigo Aluizio
s not in table format, but there isn't anyway to create a table with this object? I wasn't able to find anything about it in the R documentation. Thanks in advice. ___ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Micropaleontologia Ave

Re: [R] Fatal error .RData

2008-09-18 Thread Rodrigo Aluizio
If the students have the permission, maybe run R as administrator solves the question too. Rodrigo. -- From: "Duncan Murdoch" <[EMAIL PROTECTED]> Sent: Thursday, September 18, 2008 10:48 AM To: "Green, Paul" <[EMAIL PROTECTED]> Cc: Subject: Re: [

Re: [R] Converting Geo-Coordinates Unities

2008-09-16 Thread Rodrigo Aluizio
ng about these in order to use proj4 correctly. James On Tue, Sep 16, 2008 at 12:35 PM, Rodrigo Aluizio <[EMAIL PROTECTED]> wrote: Hi everybody, I'm looking for some package or function of R that can convert Coordinates of Longitude and Latitude in different formats, such like

[R] Converting Geo-Coordinates Unities

2008-09-16 Thread Rodrigo Aluizio
matics to this one, but I'll need to convert other formats in the future and it won't be that easy. So, any suggestion well be appreciated. Thanks in advice. ___ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laboratório de Microp

[R] Ward's Clustering Doubts

2008-09-14 Thread Rodrigo Aluizio
Hi Everybody, Now I have a doubt that is more statistical than R's technical. I’m working with ecology of recent Foraminifera. At the lab we used to perform cluster analysis using 1-Pearson’s R and Wards method (we already saw it in bibliography of the area) which renders good results with our

[R] Ward's Clustering Doubts

2008-09-14 Thread Rodrigo Aluizio
Hi Everybody, Now I have a doubt that is more statistical than R's technical. I’m working with ecology of recent Foraminifera. At the lab we used to perform cluster analysis using 1-Pearson’s R and Wards method (we already saw it in bibliography of the area) which renders good results with our

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Rodrigo Aluizio
through vegan carefully to see the full offering. Nevertheless, it's pretty easy to do it from the ground up once you get the knack. You would do something like the following. Say you have a factor-column called Site, the rows of which match the rows of the data frame (=mydf) you used for the

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Rodrigo Aluizio
an always get your scores [via: scores(ord.object): see ?scores] from your saved ordination object and add them as per above. Regards, Mark. Rodrigo Aluizio wrote: Hi, I'm a beginner with R, but I'm getting excellent results with it. Well I've got an capscale object (vegan package)

[R] Symbols on a capscale object plot

2008-09-13 Thread Rodrigo Aluizio
",add=T) dbRDA #Preparing to generate and save the graphic SymbolsRep<-read.xls('Fatores.xls',sheet=2) tiff('dbRDAPontos.tif',width=1250,height=1250,res=150) plot.cca(dbRDA,type='none',display=c('bp','sites')) text.cca(dbRDA,dis='cn'

[R] Symbols On a Capscale Object Biplot

2008-09-13 Thread Rodrigo Aluizio
;bray",add=T) dbRDA #Preparing to generate and save the graphic SymbolsRep<-read.xls('Fatores.xls',sheet=2) tiff('dbRDAPontos.tif',width=1250,height=1250,res=150) plot.cca(dbRDA,type='none',display=c('bp','sites')) text.cca(dbRDA,dis=&#x

[R] Symbols on a Capsacale Object

2008-09-12 Thread Rodrigo Aluizio
",add=T) dbRDA #Preparing to generate and save the graphic SymbolsRep<-read.xls('Fatores.xls',sheet=2) tiff('dbRDAPontos.tif',width=1250,height=1250,res=150) plot.cca(dbRDA,type='none',display=c('bp','sites')) text.cca(dbRDA,dis='cn'