[R] CPCA?
It would be great to know if and where an R code for Common Principal Component Analysis is available. Thanks, Daniel Daniel Berner Redpath Museum & Dept. of Biology McGill University 859 Sherbrooke St. W. Montreal, QC, H3A 2K6 Canada Phone: 514-398-4086 ext. 00908 Fax: 514-398-3185 Email: [EMAIL PROTECTED] __ R-help@r-project.org 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] CPCA?
Daniel Berner mail.mcgill.ca> writes: > > It would be great to know if and where an R code for Common Principal Component Analysis is available. The only code I know is in IMSL Fortran library, and that is proprietary, and that is expensive. After a quick look, it really appears that IMSL C library does not have the code, but you got to go to Fortran. Look for function DKPRIN (KPRIN). That code cannot be ported to R, naturally. Another issue is that the code obviously was written by Bernhard Flury, and he also has FORTRAN listing in his book "Commaon Principal Components and Related Multivariate Models" (J. Wiley & Sons, 1988). I don't know of the licensing status of that code. I didn't find any explicit licensing information in the book (but may have overlooked something), apart from the usual book copyright that forbids everything. I assume it is the same code that is the base of DKPRIN in the IMSL FORTRAN library. Would mean a lot of typing at minimum, and for any sensible code, editing the code to use LAPACK where ever possible. Further, Flury descirbes the algorithm in his book, and it could be implemented independently in R. I think nobody has done that (yet). cheers, jari oksanen __ R-help@r-project.org 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] CPCA?
Jari Oksanen wrote: > > Daniel Berner mail.mcgill.ca> writes: > >> >> It would be great to know if and where an R code for Common Principal > Component Analysis is available. > > The only code I know is in IMSL Fortran library, and that is proprietary, > and > that is expensive. After a quick look, it really appears that IMSL C > library > does not have the code, but you got to go to Fortran. Look for function > DKPRIN > (KPRIN). That code cannot be ported to R, naturally. > > Another issue is that the code obviously was written by Bernhard Flury, > and he > also has FORTRAN listing in his book "Commaon Principal Components and > Related > Multivariate Models" (J. Wiley & Sons, 1988). I don't know of the > licensing > status of that code. I didn't find any explicit licensing information in > the > book (but may have overlooked something), apart from the usual book > copyright > that forbids everything. I assume it is the same code that is the base of > DKPRIN > in the IMSL FORTRAN library. Would mean a lot of typing at minimum, and > for any > sensible code, editing the code to use LAPACK where ever possible. > > Further, Flury descirbes the algorithm in his book, and it could be > implemented > independently in R. I think nobody has done that (yet). > > cheers, jari oksanen > > I have a package that wraps some code Patrick Phillips wrote -- haven't put it on CRAN (yet) because of issues with including executable files in packages ... e-mail me if you want further info. Ben Bolker -- View this message in context: http://www.nabble.com/CPCA--tf4873113.html#a13948778 Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org 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] R-CPCA
Dear Ben Bolker, searching for a R code able to do the CPCA I found a message by you on https://stat.ethz.ch/. In that message you said you have something I am looking for. Would you share with me? I ma stuck with a commercial software (GOLPE) that is not developed anymore, therefore I'd like to try to use R for the calculations I need. Looking forware for a reply from you Rino -- ++++ || Dr. Rino Ragno || || Dip. di Chimica e Tecnologie del Farmaco || || Facolta' di Farmacia || || Universita' degli Studi di Roma "Sapienza" || || P.le Aldo Moro, 5 - 00185 - Roma/Italia|| || PO BOX 36 ROMA 62 || || Phone: || ||Office/Lab +39-06-49913937/152 || || Fax: || ||Dpt+39-06-491491|| ||Office +39-06-49913627 || || E-mail: rino.ra...@uniroma1.it || || WWW: http://www.rcmd.it|| ++++ __ R-help@r-project.org 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] R-CPCA
Rino Ragno uniroma1.it> writes: > > Dear Ben Bolker, > > searching for a R code able to do the CPCA I found a message by you on > https://stat.ethz.ch/. > > In that message you said you have something I am looking for. Would you > share with me? I ma stuck with a commercial software (GOLPE) that is not > developed anymore, therefore I'd like to try to use R for the > calculations I need. > > Looking forware for a reply from you > > Rino You've sent this e-mail to a public mailing list, not to me. If you send e-mail to bolker ufl.edu, I can send you a copy of the package (not hosted on CRAN for the time being). As far as CPC goes, my package just provides a wrapper for Patrick Phillips' CPC code -- you might try searching for that instead. sincerely Ben Bolker __ R-help@r-project.org 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] R-CPCA
Ben Bolker wrote: Rino Ragno uniroma1.it> writes: Dear Ben Bolker, searching for a R code able to do the CPCA [...] For amusement, try googling that acronym... -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~ - (p.dalga...@biostat.ku.dk) FAX: (+45) 35327907 __ R-help@r-project.org 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.