Learn R Programming

primefactr

R package that uses Prime Factorization for computations.

This small R package was initially developed to compute hypergeometric probabilities which are used in Fisher's exact test, for instance.

Installation and Attachment

## Installation
install.packages("primefactr")

## Attachment
library("primefactr")

Features

Main feature

To compute

Play with primes

You can also test if a number is a prime and get all prime numbers up to a certain number.

Copy Link

Version

Install

install.packages('primefactr')

Monthly Downloads

203

Version

0.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Florian Privé

Last Published

May 19th, 2018

Functions in primefactr (0.1.1)

IsPrime

Is a prime number?
primefactr-package

R package that uses Prime Factorization for computations.
AllPrimesUpTo

Get all prime numbers.
ComputeDivFact

Compute the ratio of factorials.
ReducePrime

Get the Prime Factorization.