Learns the structure of Gaussian latent tree models (LTMs), discrete LTMs, parametric mixed LTMs, and semiparametric tree models using information distances and a bottom-up tree reconstruction algorithm. Gaussian models and parametric mixed models with binary and conditionally Gaussian variables use Pearson-correlation-based distances. Discrete models use determinant-based distances and require the same number of observed states across variables. Semiparametric models accommodate continuous, binary, and ordinal variables, with latent correlations estimated under a Gaussian copula model using Kendall's tau and bridge functions. Utilities are provided for data simulation, tree visualization and export, and topology comparison using the Robinson-Foulds distance. The semiparametric framework allowing observed internal nodes is described in Zhou et al. (2026) <doi:10.1016/j.artint.2026.104499>. Earlier structure-learning methods assuming that all observed variables are leaf nodes are described for discrete models in Wang et al. (2017) <doi:10.4310/SII.2017.v10.n4.a11> and for parametric mixed models in Zhou et al. (2020) <https://jmlr.org/papers/v21/20-365.html>.
| Version: | 0.1.1 |
| Depends: | R (≥ 3.6.0) |
| Imports: | utils, stats, methods, grDevices, graphics, igraph (≥ 1.2.5), mvtnorm, pcaPP, Rcpp |
| LinkingTo: | Rcpp |
| Suggests: | Matrix, pcalg, graph, visNetwork, testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: | 2026-12-04 |
| DOI: | 10.32614/CRAN.package.sltree (may not be active yet) |
| Author: | Can Zhou [aut, cre], Shuai Wang [aut], Xiaofei Wang [aut], Jianhua Guo [aut], Key Program of the National Natural Science Foundation of China [fnd] (Grant No. 12431009), National Natural Science Foundation of China [fnd] (Grant No. 12171076, 12226003, 12601508), National Key Research and Development Program of China [fnd] (Grant No. 2020YFA0714100), Basic Research Program of Jiangsu [fnd] (Grant No. BK20230439), Alan Genz [ctb, cph] (TVPACK BVND), R Core Team [cph] (Brent_fmin), Mingze Huang [ctb, cph] (latentcor), Grace Yoon [ctb, cph] (latentcor), Christian Müller [ctb, cph] (latentcor), Irina Gaynanova [ctb, cph] (latentcor) |
| Maintainer: | Can Zhou <zhouc at nau.edu.cn> |
| License: | GPL-3 |
| Copyright: | See the file inst/COPYRIGHTS. sltree copyright details |
| NeedsCompilation: | yes |
| Materials: | README |
| CRAN checks: | sltree results |
| Reference manual: | sltree.html , sltree.pdf |
| Vignettes: |
Introduction to sltree (source, R code) |
| Package source: | sltree_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=sltree to link to this page.