Skip to content

l1rotation

1.0.1

Identify Loading Vectors under Sparsity in Factor Models

0packages depend
6.1Kdownloads / year
90.2%test coverage
13/13checks pass

Overview

About
Maintained by Ryan KoblerFirst published 2025-05-201 releasesCRAN page ↗GitHub ↗

Simplify the loading matrix in factor models using the l1 criterion as proposed in Freyaldenhoven (2025) doi:10.21799/frbp.wp.2020.25. Given a data matrix, find the rotation of the loading matrix with the smallest l1-norm and/or test for the presence of local factors with main function local_factors().

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 5.55
90.2%
Coverage · measured lines
75%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 87 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

6.1K
CRAN downloads in the past year
Rank #7,314 · ~17/day · ~512/mo
Daily download trend is not available in this view yet.
31930 days
1.4K90 days
6.1K1 year
Compare downloads with other packages →
Also on90 r2u36 autocran

Repository

Repository
1Stars
1Forks
0Open issues
0Open PRs
4Releases
45Commits
5Contributors
45 commits · Last activity 2025-08-21

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/simonfreyaldenhoven/l1rotation on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
Other 3,326 (62%)R 1,671 (31%)Rd 215 (4%)Vignettes 155 (3%)
Code characteristics
Cyclomatic complexity
3.0 median / 12 max
Test cases
41 / 5.55 per code line

Test coverage

Line coverage

90%

Expression

88.6%

Tests / Examples

90.2% / 75% ex

Functions

23 3 exported

Complexity

3.7 avg / 12 max

Call network

23 nodes / 24 edges

Loading call graph…

Lowest coverage

23 functions
FunctionCycloCoverage
calculate_pairwise_distances_old40%
find_local_factors exp1269%
gridsize775%
test_local_factors exp781%
select_palette482%
local_factors exp788%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Copyright holder
Copyright holders (1)
Author, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-05-20
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
352 KB / 1 file
Download size
4.8 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →