[R] hello
I would like to donc an AFC (factoriel correspondance analysis) and I know that on Splus, the function to do that is afc(data). But on R??? is it acm? That a lot! Sabine - ils, photos et vidéos ! [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] hello
ok how can I do to cancel le function factor for the moment ican't do this and I'm stuck with my problem for exemple Id_Rep Id_Geno Val_O Id_TrT1 1 1 64238 145 2 2 1 64238 1 1 3 1 64238 2 1 4 1 64238 1 1 5 1 64238 1 1 6 1 64238 2 1 7 1 64238 1 1 8 2 64238 1 1 9 2 64238 2 1 10 2 64238 1 1 11 2 64238 1 1 12 2 64238 1 1 13 2 64238 1 1 14 1 64239 144 2 15 1 64239 1 1 but when I write like below I have still levels and I'd like to disappear levels don[1:15,]$Val_O [1] 145 1 2 1 1 2 1 1 2 1 1 1 1 144 1 127 Levels: 1 10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 12 12.1 12.2 12.3 12.4 12.5 12.6 12.7 ... 9.9 - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] hello
hello, I have a problem with a R program I don't understand my errors my program looks like this > for(i in LE) { +for(j in LEC[[i]]) { +for(k in LR) { + donRep[[k]] <- subset(don2, Id_Essai == 1006961 & Id_Cara == j & Id_Rep == k & Id_Geno != 65125, select = Val_O) + M[[j]] <- matrix(rep(1, 3*length(donRep[[1]][,1])), nrow =length(donRep[[1]][,1]), ncol = 3) +for(k in LR) { + M[[j]][,k] <- as.numeric(as.character(donRep[[k]][,1])) +} + } +print(M[[j]]) +if (subset(donParCara, Id_Cara == j , select = Ana_C) == "AV") + {print(cor(M[[j]], method = "pearson"))} else{print(cor(M[[j]], method = "spearman"))} + } + } Erreur dans M[[j]][, k] <- as.numeric(as.character(donRep[[k]][, 1])) : le nombre d'objets à remplacer n'est pas multiple de la taille du remplacement and sometimes it run good but sometimes there are errors I don't understand why. Can you help me please? ___ [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] hello
i am a student and i need some help to do modéling like to use some methods to select the best model(variables) thank,s mail:[EMAIL PROTECTED] tel:514-975-2601 [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
[R] Hello
Hello I'm working on STARMA model (Space-time ARMA model) , in this model it's the same procedure like the Box and Jenkins procedure for estimate and the diagnostic checking of this model. If somebody have worked with this model, please send the algorithm for estimate the Space-time ACF (STACF) and the Space-time PACF (STPACF) . - [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello
http://snipurl.com/f0xh (leads you to packages 'ade4' and 'MASS') -s. Navarre Sabine wrote: I would like to donc an AFC (factoriel correspondance analysis) and I know that on Splus, the function to do that is afc(data). But on R??? is it acm? That a lot! Sabine - ils, photos et vidéos ! [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello
?as.numeric -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de elyakhlifi mustapha Envoyé : jeudi 19 avril 2007 15:30 À : R-help@stat.math.ethz.ch Objet : [R] hello ok how can I do to cancel le function factor for the moment ican't do this and I'm stuck with my problem for exemple Id_Rep Id_Geno Val_O Id_TrT1 1 1 64238 145 2 2 1 64238 1 1 3 1 64238 2 1 4 1 64238 1 1 5 1 64238 1 1 6 1 64238 2 1 7 1 64238 1 1 8 2 64238 1 1 9 2 64238 2 1 10 2 64238 1 1 11 2 64238 1 1 12 2 64238 1 1 13 2 64238 1 1 14 1 64239 144 2 15 1 64239 1 1 but when I write like below I have still levels and I'd like to disappear levels don[1:15,]$Val_O [1] 145 1 2 1 1 2 1 1 2 1 1 1 1 144 1 127 Levels: 1 10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 12 12.1 12.2 12.3 12.4 12.5 12.6 12.7 ... 9.9 - [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] hello
[EMAIL PROTECTED] wrote: > ?as.numeric in response to > ok how can I do to cancel le function factor for the moment ican't do > this and I'm stuck with my problem for exemple ... The use of as.numeric() to convert a factor to a numeric vector is fraught with peril. E.g. > f <- factor(rep(2*(1:5),3)) > f [1] 2 4 6 8 10 2 4 6 8 10 2 4 6 8 10 Levels: 2 4 6 8 10 > as.numeric(f) [1] 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 which is probably not what one was expecting or wanting. However you *can* get what you want: > as.numeric(as.character(f)) [1] 2 4 6 8 10 2 4 6 8 10 2 4 6 8 10 cheers, Rolf Turner [EMAIL PROTECTED] P.S. To save myself key-strokes I have written a wee function f2n <- function(x){as.numeric(as.character(x))} R. T. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] hello
look at R FAQ 7.10 http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-do-I-convert-factors-to-numeric_003f I hope it helps. Best, Dimitris Dimitris Rizopoulos Ph.D. Student Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "elyakhlifi mustapha" <[EMAIL PROTECTED]> To: Sent: Thursday, April 19, 2007 3:29 PM Subject: [R] hello > ok how can I do to cancel le function factor for the moment ican't > do this and I'm stuck with my problem for exemple > > Id_Rep Id_Geno Val_O Id_TrT1 > 1 1 64238 145 2 > 2 1 64238 1 1 > 3 1 64238 2 1 > 4 1 64238 1 1 > 5 1 64238 1 1 > 6 1 64238 2 1 > 7 1 64238 1 1 > 8 2 64238 1 1 > 9 2 64238 2 1 > 10 2 64238 1 1 > 11 2 64238 1 1 > 12 2 64238 1 1 > 13 2 64238 1 1 > 14 1 64239 144 2 > 15 1 64239 1 1 > > but when I write like below I have still levels and I'd like to > disappear levels > > > don[1:15,]$Val_O > [1] 145 1 2 1 1 2 1 1 2 1 1 1 1 144 1 > 127 Levels: 1 10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11 > 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 12 12.1 12.2 12.3 12.4 > 12.5 12.6 12.7 ... 9.9 > > > > - > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] hello, everyone
Hello, R people: I have a question in using fSeries package--the funciton garchFit and garchOxFit if adding a regression to the mean formula, how to estimate the model in R? using garchFit or garchOxFit? For example, Observations is {x,y}_t,there may be some relation between x and y. the model is y_t=gamma0 + *gamma1*x_t*+psi*e_{t-1}+e_t the gamma1*x_t is regression. e_t=sqrt(h_t)*N(0,1) h_t=alpha0+alpha1*e_t^2+beta*h_{t_1}~~~GARCH(1,1). I didn't know how to estimate the model using function garchFit or garchOxFit or other functions?because the argument in garchFit/garchOxFit is formular.mean=~arma(1,1). Do you have some instrucitons? thank you very much for you help. Best wishes Ma Yuchao [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello
On 2 Nov 2003 at 15:59, malick mbaye wrote: I'm afraid you will not get much usefull help without being more specific! Kjetil Halvorsen i am a student and i need some help to do modéling like to use some methods to select the best model(variables) thank,s mail:[EMAIL PROTECTED] tel:514-975-2601 [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
[R] hello Excel... (native/Package/BETA)
Dear list members I am pleased to annonce that I have just finished a native Excel reader/writer. It's wrapped up in two packages: either "xlsReadWrite" (open source) or the slightly beefed-up "xlsReadWritePro" (shareware). Working with Excel data is now as easy as writing read.xls and write.xls. Some more details: - Infos and download: http://treetron.googlepages.com - for detailed documentation pls. download and see: help files, DESCRIPTION and README. - I set up a newsgroup for technical questions and feedback: http://groups.google.ch/group/supportR - while it could be ported to other platforms, currently it is WINDOWS only (see technical below) - native means, that the file will be read/written in binary form (without needing Excel). The format is Excel version 97 - 2003 - xlsReadWrite and xlsReadWritePro both are powerful: - handle data.frames and matrices/vectors of type double, integer, logical, character - allow to select sheets - support colNames and a title - lets you skip rows at the beginning of the file - the Pro version additionally: - lets you select subdata (columns, rows or pick cells) in Excel - can have colClasses (currently mainly for "rownames", more, e.g. string-dates to come) - has xls.sheet: insert, select, delete sheets - has xls.open and xls.close: work with an xls-object in memory - has xls.info: gives information about file - Technical/License: - it's written in Delphi (Pascal) and therefore Windows only - the open source compiler FreePascal potentially allows to compile for other platforms (http://www.freepascal.org/wiki/index.php/Platform_list). [while I am interested in this for reasons of completeness, it's unlikely that I will look into it soon without somebody funding. The Linux people probably won't care anyway and just for macs, hmm, there are still much other things I'd like to look into] - it's written by using the third party library www.tmssoftware.com/flexcel.htm. - the open source version is GPLv2 and has an exception to allow linking flexcel. Due to this exception the package as a whole is non-free and non-standard. - the shareware package has a trial period which allows to check out for anybody for free. After the trial it has to be licenced for a small fee (or you can reinstall it..., but I hope not many people will do that!). It is also possible to license the source code. Suggestions, bug reports and other comments are very welcome. If possible I try to incorporate them in the gold version. Best regards, Hans-Peter [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello Excel... (native/Package/BETA)
> > - the open source compiler FreePascal potentially allows to compile for > other platforms > (http://www.freepascal.org/wiki/index.php/Platform_list). > [while I am interested in this for reasons of completeness, it's > unlikely that I will > look into it soon without somebody funding. The Linux people probably > won't care anyway > and just for macs, hmm, there are still much other things I'd like to > look into] > I got an email which kind of said that my use of "Linux people" is disrespectful and could imply that people who use Linux couldn't afford to supply fundings. It is *absolutely* not meant like this, I personally have Linux machines (Debian, now Ubuntu) but currently use Windows more. My server is Suse. I just wanted to express, that on linux afaik the people don't have the data in xls-format and prefer the text format. It's from hearsay/newsgroup/and my impression from a R-course. On Macs I personally know people who do a PhD and have their data in Excel. So I though, they could be interested. English is not my native language. Sorry for writing in a sloppy way. Hans-Peter [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello Excel... (native/Package/BETA)
Hans-Peter wrote: > Dear list members > > I am pleased to annonce that I have just finished a native Excel > reader/writer. It's wrapped up in two packages: either "xlsReadWrite" (open > source) or the slightly beefed-up "xlsReadWritePro" (shareware). Working > with Excel data is now as easy as writing read.xls and write.xls. > > Some more details: > > - Infos and download: http://treetron.googlepages.com > - for detailed documentation pls. download and see: help files, DESCRIPTION > and README. > - I set up a newsgroup for technical questions and feedback: > http://groups.google.ch/group/supportR > > - while it could be ported to other platforms, currently it is WINDOWS only > (see technical below) If I understand it right, the the flexcel library includes the components for kylix as well - therefore I would try to compile it for Linux, I would suggest to use CrossKylix to compile it. Rainer -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel:+27 - (0)72 808 2975 (w) Fax:+27 - (0)21 808 3304 Cell: +27 - (0)83 9479 042 email: [EMAIL PROTECTED] [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Re: [R] hello Excel... (native/Package/BETA)
Hans-Peter, In my office, files are stored on an EMC shared server which is used by both our Windows PC's and our Linux machines. So it is common for us to process spreadsheet data using R on Linux. A Linux version of your package would be very welcome. Thanks! -- David Brahm ([EMAIL PROTECTED]) P.S. No, I'm not volunteering to port it :-) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Hello Friend, lets be friends because friends are like clothe without them one is naked
Oh my friend, Hoping you are fine and living good. ice having your address, I wanna be your friend, for first friendship cannot be seen or even be touched, it must be felt within the heart.Hoping you feel just the way i do.Wow, friends are like clothes, without them you feel naked!I guess am right. Am Omonye Ojojie, from Rwanda in Africa presently residing in the refugee camp here in Dakar Senegal due to the civil war going on in my country. Am 25 years female. I will tell you more about myself, my family and all that maybe necessary in this relationship when you reply to this mail.If this interest you, get back to me on my email : [EMAIL PROTECTED] OR [EMAIL PROTECTED] Yours Dearly Miss Omonye Ojojie __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Hello Friend, lets be friends because friends are like clothe without them one is naked
Oh my friend, Hoping you are fine and living good. ice having your address, I wanna be your friend, for first friendship cannot be seen or even be touched, it must be felt within the heart.Hoping you feel just the way i do.Wow, friends are like clothes, without them you feel naked!I guess am right. Am Omonye Ojojie, from Rwanda in Africa presently residing in the refugee camp here in Dakar Senegal due to the civil war going on in my country. Am 25 years female. I will tell you more about myself, my family and all that maybe necessary in this relationship when you reply to this mail.If this interest you, get back to me on my email : [EMAIL PROTECTED] OR [EMAIL PROTECTED] Yours Dearly Miss Omonye Ojojie __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.