semtree
0.9.23Recursive Partitioning for Structural Equation Models
Overview
SEM Trees and SEM Forests -- an extension of model-based decision trees and forests to Structural Equation Models (SEM). SEM trees hierarchically split empirical data into homogeneous groups each sharing similar data patterns with respect to a SEM by recursively selecting optimal predictors of these differences. SEM forests are an extension of SEM trees. They are ensembles of SEM trees each built on a random sample of the original data. By aggregating over a forest, we obtain measures of variable importance that are more robust than measures from single trees. A description of the method was published by Brandmaier, von Oertzen, McArdle, & Lindenberger (2013) doi:10.1037/a0030001 and Arnold, Voelkle, & Brandmaier (2020) doi:10.3389/fpsyg.2020.564403.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1611 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- 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-05-2013 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1912 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 2 earlier snapshots
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-1012 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Documentation
- Examples that run
- 67%
- Documented parameters
- 100%
- Return-value docs
- 37%
- References docs
- 59%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/brandmaier/semtree on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 106 max
- Test cases
- 57 / 0.21 per code line
Test coverage
Line coverage
33%
Expression
35.5%
Tests / Examples
33.3% / 1% ex
Functions
229 39 exported
Complexity
5.7 avg / 106 max
Call network
229 nodes / 244 edges
Call graph
Open call graph →Lowest coverage
229 functions| Function | Cyclo | Coverage |
|---|---|---|
| biodiversity exp | 3 | 0% |
| boruta exp | 14 | 0% |
| diversityMatrix exp | 7 | 0% |
| getLeafs exp | 3 | 0% |
| getParDiffForest exp | 4 | 0% |
| getParDiffTree exp | 7 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| lgcm | data.frame | 400 × 8 | – |
People & History
14 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.9.23Latest
- 0.9.222025-07-28 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.9.202024-04-08 · diff ↗
- 0.9.192023-11-26 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.9.182022-05-13 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.9.172021-07-30 · diff ↗
- unarchivedReturned to CRAN2021-07-30
- archivedRemoved from CRAN2021-06-28check problems were not corrected in time
- 0.9.162021-06-11 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.9.152021-04-29 · diff ↗
Show 11 earlier events
Package metadata
- First published
- 2016-12-16
- Total releases
- 14 / 10 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 15 KB / 1 file
- Download size
- 435 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet