Re: [R] Block comments in R?

2006-10-06 Thread Jose Claudio Faria
Hi all, Indeed, block comment is more clean and elegant than line by line. If the R interpreter will recognizes it (I'm not sure if already recognizes), we will spend no more than few hours to make the syntax of the main editors compatible, isn't it? Regards, -- Jose Claudio Faria Brasil

[R] Small help with plot.mca

2006-10-05 Thread Jose Claudio Faria
Dear list, Please, how can I get all the levels of the same factor to have the same color and different color for each factor? Script: library(MASS) plot(mca(farms, abbrev = TRUE), rows=F) Thanks in advance, -- Jose Claudio Faria Brasil/Bahia/Ilheus/UESC/DCET Estatística Experimental/Prof

[R] Doubt about Student t distribution simulation

2006-08-04 Thread Jose Claudio Faria
= 2) Many thanks for any help, ___ Jose Claudio Faria Brasil/Bahia/Ilheus/UESC/DCET Estatística Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Doubt about Student t distribution simulation

2006-08-04 Thread Jose Claudio Faria
Dears John, Peter and Sundar, Many thanks for the quick answers!!! .. and sorry for all.. []s ___ Jose Claudio Faria Brasil/Bahia/Ilheus/UESC/DCET Estatística Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] John Fox escreveu: Dear Jose

Re: [R] Axis Title in persp() Overlaps with Axis Labels

2006-07-26 Thread Jose Claudio Faria
Dear Kilian, Also give a looked at: http://wiki.r-project.org/rwiki/doku.php?id=graph_gallery:new-graphics You will see a new and very flexible function to 3D plot. Regards, __ Jose Claudio Faria Brasil/Bahia/Ilheus/UESC/DCET Estatística Experimental/Prof. Adjunto mails: [EMAIL PROTECTED

[R] ANOVA: Help with SSQ decomposition and contrasts

2006-02-13 Thread Jose Claudio Faria
Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] linear contrasts with anova

2006-01-24 Thread Jose Claudio Faria
fit.contrast(av, GROUP, c( 1, -1, 0)) detach(dF) HTH, []s, -- Jose Claudio Faria Brasil/Bahia/Ilhéus/UESC/DCET Estatística Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing

Re: [R] R (2.2.0), R-DCOM and Delphi

2005-11-07 Thread Jose Claudio Faria
] RCom.pas(261): Undeclared identifier: 'VarArrayHighBound' [Fatal Error] RDComMain.pas(14): Could not compile used unit 'RCom.pas' I'm using Delphi 7 under WinXP pro/SP2. Could you give me a tip? Regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails

[R] Help with lattice, regressions and respective lines

2005-10-14 Thread Jose Claudio Faria
, bra=='s', select=c(bra, em, tem, y)) Dfs xyplot(y ~ tem | em, data = Dfs, ylim=c(10, 60), xlim=c(-10, 110), ylab='y', xlab='Time, days', layout = c(3,1)) detach(Df) TIA, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails

Re: [R] Help with a more flexible funtion for multiple comparisio n of means

2005-09-12 Thread Jose Claudio Faria
more advanced R functions. Thanks for all. Best, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779 __ R-help@stat.math.ethz.ch mailing

Re: [R] help with one matrix

2005-09-11 Thread Jose Claudio Faria
Gabor Grothendieck wrote: On 9/10/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Dear R-list, Could anybody tell me how to make one matrix as the below: [,1] [,2] [,3] [,4] [,5] [,6] [1,]-23456 [2,]2-2345 [3,]32-23

[R] Help with a more flexible funtion for multiple comparision of means

2005-09-11 Thread Jose Claudio Faria
3.83 4.93 5.48 B 3.83 0.00 3.83 4.68 C 4.93 3.83 0.00 4.04 A 5.48 4.68 4.04 0.00 $Replicates number D B C A D - 4:5 4:4 4:4 B 5:4 - 5:4 5:4 C 4:4 4:5 - 4:4 A 4:4 4:5 4:4 - Thanks in advance, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto

Re: [R] help with one matrix

2005-09-11 Thread Jose Claudio Faria
Hi Jim, Many thanks for the function! -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779 __ R-help@stat.math.ethz.ch mailing list

[R] help with one matrix

2005-09-10 Thread Jose Claudio Faria
5432- Thanks in advance, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779 __ R-help@stat.math.ethz.ch mailing list

Re: [R] Statistics with R

2005-08-30 Thread Jose Claudio Faria
Hi Vincent, Thanks for your good work! Best, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779 __ R-help@stat.math.ethz.ch mailing

[R] An small suggestion for the R team

2005-08-04 Thread Jose Claudio Faria
highlighter with the first one. How to differentiating myValue: varOne = 100 varTwo = 50 myValue = varOne-varTwo from codes-deprecated, or ns-alt, for example. TIA, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [R] An small suggestion for the R team

2005-08-04 Thread Jose Claudio Faria
Gabor Grothendieck wrote: On 8/4/05, Gabor Grothendieck [EMAIL PROTECTED] wrote: On 8/4/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Hi all, I would like to suggest that all R functions/etc like: codes-deprecated grid-internal ns-alt ns-dblcolon ns-hooks ns-internals ns

Re: [R] An small suggestion for the R team

2005-08-04 Thread Jose Claudio Faria
Hi THomas, This is very a good information: thanks very much! So, I will just now to remove all from the highlighters. BTW, do you know if the signal minus is used in some function or reserved word? TIA, Jose Claudio Faria Thomas Lumley wrote: On Thu, 4 Aug 2005, Jose Claudio Faria wrote

Re: [R] An small suggestion for the R team

2005-08-04 Thread Jose Claudio Faria
Ok Duncan, Thank you very much for the tip! I will to remove all these identifiers. Regards, -- Jose Claudio Faria Duncan Murdoch wrote: Jose Claudio Faria wrote: Hi all, I would like to suggest that all R functions/etc like: codes-deprecated grid-internal ns-alt ns

Re: [R] Help with Mahalanobis

2005-07-10 Thread Jose Claudio Faria
)] = tmpD2 D2 = tmpMah + t(tmpMah) return(D2) } # # To try # D2M = D2Mah(iris[,1:4], iris[,5]) print(D2M) Thanks all for the complementary aid (specially to Gabor). Regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL

Re: [R] Help with Mahalanobis

2005-07-10 Thread Jose Claudio Faria
[a,] - mds[b,])%*%InvS%*%(mds[a,] - mds[b,]), a,b) D2 - outer(seq(nObjects), seq(nObjects), f) } # # test # D2M2 = D2Mah2(iris[,1:4], iris[,5]) print(D2M2) On 7/10/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Well, as I did not get a satisfactory reply to the original

Re: [R] Help with Mahalanobis

2005-07-10 Thread Jose Claudio Faria
= nrow(mds)) names(seq.) - levels(x) D2 - outer(seq., seq., f) } # # test # D2M4 = D2Mah4(iris[,1:4], iris[,5]) print(D2M4) On 7/10/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Indeed, it is very nice Gabor (as always)! So, a doubt: how to preserve the 'rowname' and 'colname

Re: [R] Help: Mahalanobis distances between 'Species' from iris

2005-07-10 Thread Jose Claudio Faria
Of Jose Claudio Faria Sent: Thursday, 7 July 2005 5:29 AM To: r-help@stat.math.ethz.ch Subject: [R] Help: Mahalanobis distances between 'Species' from iris Dear R list, I'm trying to calculate Mahalanobis distances for 'Species' of 'iris' data as obtained below: Squared Distance to Species

Re: [R] Help with Mahalanobis

2005-07-09 Thread Jose Claudio Faria
, Jose Claudio Faria wrote: Dear R list, I'm trying to calculate Mahalanobis distances for 'Species' of 'iris' data as obtained below: Squared Distance to Species From Species: Setosa Versicolor Virginica Setosa 0 89.86419 179.38471 Versicolor 89.86419

[R] Help to make a specific matrix

2005-07-09 Thread Jose Claudio Faria
| || This question is related with the possible combinations of five objects two the two, i.e, C(5,2). Any help would be greatly appreciated. Regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED

Re: [R] Help to make a specific matrix

2005-07-09 Thread Jose Claudio Faria
Gabor Grothendieck wrote: On 7/9/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Dear R users, The solution is probably simple but I need someone to point me to it. How can I to generate a matrix from a numeric sequence of 1:10 like 'A' or 'B' below: A) || | 1 2 3

[R] Help with Mahalanobis

2005-07-08 Thread Jose Claudio Faria
='', col='blue') screen(2) plot(dendroC, main='Complete', sub='', xlab='', col='red') # # --- End R script 2 --- # I always need of this type of analysis and I'm not founding how to make it in the CRAN documentation (Archives, packages: mclust, cluster, fpc and mva). Regards, -- Jose Claudio Faria

[R] Tables: Invitation to make a collective package

2005-07-07 Thread Jose Claudio Faria
') names(tbl) print(tbl) tbl=tb.table(Cars93, breaks='FD', by='Origin') print(tbl) I find that this package would be very useful and would like to hear the opinion of the interested parties in participating. Best regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof

[R] Help: Mahalanobis distances between 'Species' from iris

2005-07-06 Thread Jose Claudio Faria
, main='Complete', sub='', xlab='', col='red') # # --- End R script --- # I always need of this type of analysis and I'm not founding how to make it in the CRAN documentation (Archives, packages: mclust, cluster, fpc and mva). Regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica

[R] Cluster of iris data set from Mahalanobis distances

2005-07-02 Thread Jose Claudio Faria
it in the CRAN documentation (Archives, packages: mclust, cluster, fpc and mva). Could help me? Regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing

[R] Re: R GUI for Linux?

2005-06-01 Thread Jose Claudio Faria
/C++ programmer) coordinate the works. Emacs + ESS, in my opinion, is not adequate for beginning. Best regards, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] tel: 73-3634.2779

Re: [R] Contingency tables from data.frames

2005-05-27 Thread Jose Claudio Faria
- er.make.table(x, start, end, h, right) tmpList - c(tmpList, list(tbl)) } } valCol - logCol[logCol] names(tmpList) - names(valCol) return(tmpList) } Best, -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL

Re: [R] Contingency tables from data.frames

2005-05-25 Thread Jose Claudio Faria
Gabor Grothendieck wrote: On 5/24/05, Jose Claudio Faria [EMAIL PROTECTED] wrote: Dear list, I'm trying to do a set of generic functions do make contingency tables from data.frames. It is just running nice (I'm learning R), but I think it can be better. I would like to filter the data.frame

[R] Contingency tables from data.frames

2005-05-24 Thread Jose Claudio Faria
=er.table.df.br (mydf, breaks = 'Scott', right=F) print(tbdf) Could anyone give me a hint how to work around this? PS: Excuse my bad English ;-) -- Jose Claudio Faria Brasil/Bahia/UESC/DCET Estatistica Experimental/Prof. Adjunto mails: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED