Skip to content

Benchmarking different ways to calculate residuals in R using a number of different packages.

Notifications You must be signed in to change notification settings

WEHI-ResearchComputing/ResidBenchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Residual Benchmarking

This repository compiles some benchmarks for calculating residuals from a linear model in R. The main variables that are tested are:

  • The function and package used for calculating the residuals
  • The storage of the matrix: either dense or sparse
  • The shape of Y: either a vector or a matrix

In addition, a fast function for calculating residuals using the QR decomposition using Eigen is included.

About

Benchmarking different ways to calculate residuals in R using a number of different packages.

Resources

Stars

Watchers

Forks