janusplot
0.1.1Asymmetric Smoothed-Association Matrices via GAM Fits
Overview
Render a pairwise, asymmetric smoothed-association matrix of continuous variables. Each cell shows the fitted spline from an 'mgcv' generalised additive model, with the upper triangle displaying 'gam(x_j ~ s(x_i))' and the lower triangle 'gam(x_i ~ s(x_j))'. Unlike Pearson's correlation matrix, the visualisation is intentionally asymmetric, revealing heteroscedasticity, leverage, and directional non-linearity that a single scalar correlation hides. An asymmetry index and a 24-category shape taxonomy quantify the directional difference and qualitative form of each fitted smooth.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-295 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 9%
Downloads
Repository
Releases over time
PRs over time
Repository practices
17 development-tooling and community-health practices detected across 9 families in the upstream repository
Checks run against github.com/max578/janusplot on 2026-07-19.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 2.0 median / 66 max
- Test cases
- 181 / 2.58 per code line
Test coverage
Line coverage
89%
Expression
87.7%
Tests / Examples
89.0% / 57% ex
Functions
93 9 exported
Complexity
6.7 avg / 66 max
Call network
93 nodes / 133 edges
Call graph
Open call graph →Lowest coverage
93 functions| Function | Cyclo | Coverage |
|---|---|---|
| .empty_fit_result | 1 | 0% |
| .palette_is_cb_safe | 1 | 0% |
| .present_shape_categories | 1 | 0% |
| .deriv_order_label | 8 | 50% |
| .colour_label | 1 | 63% |
| .check_parallel_plan | 6 | 64% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| shape_sensitivity_demo | data.frame | 2,160 × 14 | – |
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.1.1Latest
- 0.1.02026-04-28
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-04-28
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 25 KB / 1 file
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet