tensr, Because tensor was Already Taken.

Build Status AppVeyor Build Status CRAN Version License: GPL v3


This package contains a collection of functions for statistical analysis with tensor(array)-variate data sets. In particular, tensr has the following features:

This package is also published on CRAN.

Vignettes are available on Equivariant Inference and Likelihood Inference.


To install from CRAN, run in R:


To install the latest version from Github, run in R:



Gerard, D., & Hoff, P. (2016). A higher-order LQ decomposition for separable covariance models. Linear Algebra and its Applications, 505, 57-84. [Link to LAA] [Link to arXiv]

Gerard, D., & Hoff, P. (2015). Equivariant minimax dominators of the MLE in the array normal model. Journal of Multivariate Analysis, 137, 32-49. [Link to JMVA] [Link to arXiv]