Learn R Programming

⚠️There's a newer version (1.7.3) of this package.Take me there.

Rfast (version 1.5)

Fast R Functions

Description

A collection of fast (utility) functions for data analysis. Column- and row- wise means, medians, variances, minimums, maximums, many t, F and G-square tests, many regressions (normal, logistic, Poisson), Mahalanobis distance are some of the many fast functions.

Copy Link

Version

Install

install.packages('Rfast')

Monthly Downloads

21,571

Version

1.5

License

GPL-2

Maintainer

Manos Papadakis

Last Published

October 11th, 2016

Functions in Rfast (1.5)

Column and row-wise means of a matrix

Column and row-wise means of a matrix
Column-wise minimum and maximum

Column-wise minimum and maximum of a matrix
Column and rows-wise mean absolute deviations

Column and row-wise mean absolute deviations
Column and row-wise range of values of a matrix

Column and row-wise range of values of a matrix.
Column and row-wise medians

Column and row-wise medians
Column and row-wise sums of a matrix

Column and row-wise sums of a matrix
Binary search algorithm

Binary search algorithm
Fitting a beta distribution via Newton-Rapshon

Fitting a beta distribution via Newton-Rapshon
Correlations

Correlation between a vector and a set of variables
Count the frequency of a value

Count the frequency of a value
Column and row-wise variances and standard deviations

Column and row-wise variances and standard deviations of a matrix
Floyd-Warshall algorithm

Floyd-Warshall algorithm for shortest paths in a directed graph
All k possible combinations from n elements

All k possible combinations from n elements
Fitting a Dirichlet distribution via Newton-Rapshon

Fitting a Dirichlet distribution via Newton-Rapshon
Many F-tests

Many F-tests
Match

Match
Mahalanobis distance

Mahalanobis distance
Distance between vectors and a matrix

Distance between vectors and a matrix
Design Matrix

Design Matrix
Covariance and correlation matrix

Fast covariance and correlation matrix calculation
Find the given value in a hash table

Find the given value in a hash table
Hash - Pair function

Hash - Pair function
Many univariate simple binary logistic regressions

Many univariate simple binary logistic regressions
Matrix with G-square tests of indepedence

G-square test of indepdence
Lower triangular of a (square) matrix

Lower triangular of a (square) matrix or upper triangular of a (square) matrix
G-square test of conditional indepdence

G-square test of conditional indepdence
Natural logarithm of the gamma function and its derivatives

Sorting of the columns of a matrix
Find element

Find element
Median of a vector

Median of a vector
Many multivariate simple linear regressions coefficients

Many multivariate simple linear regressions coefficients
Multivariate Laplace random values simulation

Multivariate Laplace random values simulation
Many 2 sample proportions tests

Many 2 sample proportions tests
Multivariate normal and t random values simulation

Multivariate normal and t random values simulation
Sort and unique numbers

Sort and unique
Many univariate simple linear regressions

Many univariate simple linear regressions
Sorting of the columns of a matrix

Sorting of the columns of a matrix
Angular central Gaussian random values simulation

Angular central Gaussian random values simulation
Row-wise minimum and maximum

Row-wise minimum and maximum of a matrix.
Rfast-package

Really fast R functions
Sort a vector coresponding to another

Sort
MLE of the zero-inflated Poisson distribution

MLE of the zero-inflated Poisson distribution
Standardisation

Standardisation
Index of the columns of a data.frame which are factor variables

Index of the columns of a data.frame which are factor variables
Transpose of a matrix

Transpose of a matrix
Permutation

Permutation
The nth largest value of a vector

The nth largest value of a vector
Many univariate simple poisson regressions

Many univariate simple poisson regressions
Order

Order
Many t-tests

Many t-tests
Many univariate generalised linear models

Many univariate generalised linear regressions
Many simple linear regressions coefficients

Simple linear regressions coefficients
Equality of objects

Equality of objects