Skip to content

TRES

1.1.5

Tensor Regression with Envelope Structure

1packages depend
2.8Kdownloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Jing ZengFirst published 2018-11-268 releasesCRAN page ↗GitHub ↗

Provides three estimators for tensor response regression (TRR) and tensor predictor regression (TPR) models with tensor envelope structure. The three types of estimation approaches are generic and can be applied to any envelope estimation problems. The full Grassmannian (FG) optimization is often associated with likelihood-based estimation but requires heavy computation and good initialization; the one-directional optimization approaches (1D and ECD algorithms) are faster, stable and does not require carefully chosen initial values; the SIMPLS-type is motivated by the partial least squares regression and is computationally the least expensive. For details of TRR, see Li L, Zhang X (2017) doi:10.1080/01621459.2016.1193022. For details of TPR, see Zhang X, Li L (2017) doi:10.1080/00401706.2016.1272495. For details of 1D algorithm, see Cook RD, Zhang X (2016) doi:10.1080/10618600.2015.1029577. For details of ECD algorithm, see Cook RD, Zhang X (2018) doi:10.5705/ss.202016.0037. For more details of the package, see Zeng J, Wang W, Zhang X (2021) doi:10.18637/jss.v099.i12.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.08
0.0%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 317 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
72%

Downloads

2.8K
CRAN downloads in the past year
Rank #13,910 · ~8/day · ~231/mo
Daily download trend is not available in this view yet.
19530 days
73390 days
2.8K1 year
Compare downloads with other packages →
Also on202 r2u21 autocran

Repository

Repository
2Stars
1Forks
2Open issues
0Open PRs
6Releases
127Commits
1Contributors
127 commits · Last activity 2021-11-12

Stars over time

2023-11-18 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/leozeng15/tres on 2026-08-16.

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.6.0ManifoldOptim
Imports (5)
MASSmethodspracmarTensorstats
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 1.0.0
Authors (3)
Author, Maintainer · added in 1.0.0
Author
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.5Latest
    2021-10-20 · current release · diff ↗
  • 1.1.4
    2021-06-25 · diff ↗
  • unarchivedReturned to CRAN
    2021-06-25
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2021-05-05
    requires archived package 'rTensor'
  • 1.1.3
    2020-10-16 · diff ↗
  • 1.1.2
    2020-07-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.1
    2020-02-05 · diff ↗
  • 1.1.0
    2019-11-17 · diff ↗
  • 1.0.0
    2019-10-22 · diff ↗
Show 3 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.0
    2018-11-26
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-11-26
Total releases
8 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Bundled data
3.6 MB / 3 files
Download size
3.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("TRES")
Zeng, J., Wang, W., & Zhang, X. (2021). TRES: Tensor Regression with Envelope Structure (Version 1.1.5) [Computer software]. https://doi.org/10.32614/CRAN.package.TRES

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for TRES version 1.1.5 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy