Rfast20.1.5.5 package

A Collection of Efficient and Extremely Fast R Functions II

add.term

Add many single terms to a model

batch.logistic

Logistic regression for large scale data

benchmark

Benchmark - Measure time

bernoulli.nb

Naive Bayes classifier for binary Bernoulli data

bernoullinb.pred

Prediction with naive Bayes classifier for binary (Bernoulli) data

bessel

Bessel functions

bic.regs

BIC of many simple univariate regressions

big.knn

The k-NN algorithm for really lage scale data

bigknn.cv

Cross-validation for the k-NN algorithm for really lage scale data

binom.reg

Binomial regression

boot.james

Bootstrap James and Hotelling test for 2 independent sample mean vecto...

boot.student2

Bootstrap Student's t-test for 2 independent samples

boot.ttest1

One sample bootstrap permutation t-test for a vector

cauchy0.mle

MLE of the Cauchy and generalised normal distributions with zero locat...

censpois.mle

MLE of the left censored Poisson distribution

censweib.reg

Censored Weibull regression model

censweibull.mle

MLE of the censored Weibull distribution

circ.cor1

Circurlar correlations between two circular variables

cls

Constrained least squares

cluster.lm

Linear regression with clustered data

colaccs

Many binary classification metrics

colGroup

Column-wise summary statistics with grouping variables

coljack.means

Column and row-wise jackknife sample means

collognorm.mle

Column-wise MLE of some univariate distributions

colmeansvars

Column-wise means and variances of a matrix

colmses

any metrics for a continuous response variable

colspml.mle

Column-wise MLE of the angular Gaussian distribution

colwslmeta

Column-wise weighted least squares meta analysis

cor_test

Correlation significance testing using Fisher's z-transformation

covar

Covariance between a variable and a set of variables

covdist

Distance between two covariance matrices

covequal

Hypothesis test for equality of a covariance matrix

covlikel

Hypothesis tests for equality of multiple covariance matrices

covrob.lm

Linear model with sandwich robust covariance estimator

dcora

Distance correlation matrix

den.contours

Contour plots of some bivariate distributions

depth.mahala

Mahalanobis depth

diffic

Item difficulty and discrimination

el.cor.test

Empirical and exponential empirical likelihood test for a correlation ...

empirical.entropy

Empirical entropy

eqdist.etest

Energy test of equal univariate distributions

fbed.reg

Forward Backward Early Dropping selection regression

fe.lmfit

Fixed effects regression

fedhc.skel

The skeleton of a Bayesian network produced by the FEDHC algorithm

fipois.reg

Fixed intercepts Poisson regression

fisher.da

Fisher's linear discriminant analysis

fp

Fractional polynomial regression with one independent variable

frechet.nn

Frechet mean for compositional data with k-nearest neighbours

gammapois.mle

MLE of the gamma-Poisson distribution

gammareg

Gamma regression with a log-link

gammaregs

Many Gamma regressions

gee.reg

GEE Gaussian regression

gumbel.reg

Gumbel regression

halfcauchy.mle

MLE of continuous univariate distributions defined on the positive lin...

hcf.circaov

Analysis of variance for circular data

hellinger.countreg

Hellinger distance based regression for count data

het.lmfit

Heteroscedastic linear models for large scale data

hp.reg

Hurdle-Poisson regression

Intersect

Intersect Operation

is.lower.tri

Check if a matrix is Lower or Upper triangular

is.skew.symmetric

Check whether a square matrix is skew-symmetric

jack.mean

Jackknife sample mean

jbtests

Many Jarque-Bera normality tests

kernel

Univariate and multivariate kernel density estimation

km

Kaplan-Meier estimate of a survival function

kumar.mle

MLE of distributions defined for proportions

leverage

Diagonal values of the Hat matrix

lm.boot

Parametric and non-parametric bootstrap for linear regression model

lm.bsreg

backward selection with the F test or the partial correlation coeffici...

lm.drop1

Single terms deletion hypothesis testing in a linear regression model

logiquant.regs

Many simple quantile regressions using logistic regressions

lud

Split the matrix in lower, upper triangular and diagonal

mci

Monte Carlo Integration with a normal distribution

Merge

Merge 2 sorted vectors in 1 sorted vector

mle.lda

Maximum likelihood linear discriminant analysis

mmhc.skel

The skeleton of a Bayesian network learned with the MMHC algorithm

mmpc

Max-Min Parents and Children variable selection algorithm for continuo...

mmpc2

Max-Min Parents and Children variable selection algorithm for non cont...

moranI

Moran's I measure of spatial autocorrelation

multinom.reg

Multinomial regression

multinomreg.cv

Cross-validation for the multinomial regression

multivm.mle

MLE of some circular distributions with multiple samples

mv.score.glms

Many score based regressions with muliple response variables and a sin...

nb.cv

Cross-validation for the naive Bayes classifiers

negbin.reg

Negative binomial regression

normal.etest

Energy based normality test

omp2

Orthogonal matching variable selection

overdispreg.test

Score test for overdispersion in Poisson regression

pc.sel

Variable selection using the PC-simple algorithm

pca

Principal component analysis

pcr

Principal components regression

perm.ttest

Permutation t-test for one or two independent samples

pinar1

Conditional least-squares estimate for Poisson INAR(1) models

pooled.colVars

Column-wise pooled variances across groups

prophelling.reg

Hellinger distance based univariate regression for proportions

propols.reg

Non linear least squares regression for percentages or proportions

purka.mle

MLE of the Purkayastha distribution

Quantile

Sample quantiles and col/row wise quantiles

rbeta1

Random values generation from a Be(a, 1) distribution

refmeta

Random effects and weighted least squares meta analysis

reg.mle.lda

Regularised maximum likelihood linear discriminant analysis

regmlelda.cv

Cross-validation for the regularised maximum likelihood linear discrim...

Rfast2-package

Really fast R functions

riag

Angular Gaussian random values simulation

rm.hotel

Repeated measures ANOVA (univariate data) using Hotelling's T2T^2 test

Runif

Random values simulation from various distributions

Sample.int

Random integer values simulation

sclr

Scaled logistic regression

score.zipregs

Many score based zero inflated Poisson regressions

silhouette

Silhouette function

sp.logiregs

Many approximate simple logistic regressions

stud.ttests

Many 2 sample student's t-tests

tobit.reg

Tobit regression

trim.mean

Trimmed mean

trunccauchy.mle

MLE of some truncated distributions

vm.nb

Naive Bayes classifiers for directional data

vmnb.pred

Prediction with some naive Bayes classifiers for circular data

wald.poisrat

Wald confidence interval for the ratio of two Poisson variables

walter.ci

Walter's confidence interval for the ratio of two binomial variables (...

weib.regs

Many simple Weibull regressions

weibull.nb

Naive Bayes classifiers

weibullnb.pred

Prediction with some naive Bayes classifiers

welch.tests

Many Welch tests

wild.boot

Cluster robust wild bootstrap for linear models

zigamma.mle

MLE of the zero inflated Gamma and Weibull distributions

zigamma.reg

Zero inflated Gamma regression

ztp.reg

Zero truncated Poisson regression

A collection of fast statistical and utility functions for data analysis. Functions for regression, maximum likelihood, column-wise statistics and many more have been included. C++ has been utilized to speed up the functions. References: Tsagris M., Papadakis M. (2018). Taking R to its limits: 70+ tips. PeerJ Preprints 6:e26605v1 <doi:10.7287/peerj.preprints.26605v1>.

  • Maintainer: Manos Papadakis
  • License: GPL (>= 2.0)
  • Last published: 2025-10-14