[R] integer factorization

Henrik Bengtsson hb at maths.lth.se
Wed Jan 5 16:00:40 CET 2005


See also primeFactors() and allFactors():

 http://www.maths.lth.se/help/R/.R/library/R.basic/html/primeFactors.html
 http://www.maths.lth.se/help/R/.R/library/R.basic/html/allFactors.html

in the R.basic package part of the R.classes bundle:

 http://www.maths.lth.se/help/R/R.classes/

Cheers

Henrik Bengtsson

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Christoph Buser
> Sent: Wednesday, January 05, 2005 11:14 AM
> To: Robin Hankin
> Cc: R-help at stat.math.ethz.ch
> Subject: Re: [R] integer factorization
> 
> 
> Hi Robin
> 
> There is a function factorize() in the package conf.design
> 
> library(conf.design)
> factorize(60)
> [1] 2 2 3 5
> 
> Hope this helps
> Christoph
> 
> -- 
> Christoph Buser <buser at stat.math.ethz.ch>
> Seminar fuer Statistik, LEO C11
> ETH (Federal Inst. Technology)	8092 Zurich	 SWITZERLAND
> phone: x-41-1-632-5414		fax: 632-1228
> http://stat.ethz.ch/~buser/
> 
> ______________________________________________
> R-help at 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
> 
>




More information about the R-help mailing list