Other packages > Find by keyword >

rTensor  

Tools for Tensor Analysis and Decomposition
View on CRAN: Click here


Download and install rTensor package within the R console
Install from CRAN:
install.packages("rTensor")

Install from Github:
library("remotes")
install_github("cran/rTensor")

Install by package version:
library("remotes")
install_version("rTensor", "1.5.0")



Attach the package and use:
library("rTensor")
Maintained by
Koki Tsuyuzaki
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-01-28
Latest Update: 2021-05-15
Description:
A set of tools for creation, manipulation, and modeling of tensors with arbitrary number of modes. A tensor in the context of data analysis is a multidimensional array. rTensor does this by providing a S4 class 'Tensor' that wraps around the base 'array' class. rTensor provides common tensor operations as methods, including matrix unfolding, summing/averaging across modes, calculating the Frobenius norm, and taking the inner product between two tensors. Familiar array operations are overloaded, such as index subsetting via '[' and element-wise operations. rTensor also implements various tensor decomposition, including CP, GLRAM, MPCA, PVD, and Tucker. For tensors with 3 modes, rTensor also implements transpose, t-product, and t-SVD, as defined in Kilmer et al. (2013). Some auxiliary functions include the Khatri-Rao product, Kronecker product, and the Hadamard product for a list of matrices.
How to cite:
Koki Tsuyuzaki (2014). rTensor: Tools for Tensor Analysis and Decomposition. R package version 1.5.0, https://cran.r-project.org/web/packages/rTensor. Accessed 29 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:47), 1.0 (2014-01-28 00:32), 1.1 (2014-04-08 15:23), 1.2 (2014-11-11 07:59), 1.3 (2015-12-15 00:56), 1.4.1 (2020-03-22 10:32), 1.4.8 (2021-05-15 08:20), 1.4.9 (2025-08-25 07:00), 1.4 (2018-12-04 11:20)
Other packages that cited rTensor R package
View rTensor citation profile
Other R packages that rTensor depends, imports, suggests or enhances
Complete documentation for rTensor
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA