Description Usage Arguments Details Value Examples

Computes the prime factorization of a composite number.

1 |

`x` |
length-1 numeric. |

As a side effect, tests for primality using a naive approach.

A matrix of prime factors in the first column and powers in the second.

1 2 | ```
(x <- 8*9*25*7*11)
prime.factorization(x)
``` |

graywh/r-gmisc documentation built on May 14, 2017, 3:07 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.