Package: hetNSC Type: Package Title: Heteroscedastic Nearest Shrunken Centroid Classification Version: 0.1.0 Authors@R: c( person("Haiyan", "Wang", email = "hwang@ksu.edu", role = c("aut", "cre")), person("Mohammad Omar", "Sahtout", role = "aut"), person("Trevor", "Hastie", role = "ctb", comment = "Author of the 'pamr' code this package is derived from"), person("Robert", "Tibshirani", role = "ctb", comment = "Author of the 'pamr' code this package is derived from"), person("Balasubramanian", "Narasimhan", role = "ctb", comment = "Author of the 'pamr' code this package is derived from"), person("Gilbert", "Chu", role = "ctb", comment = "Author of the 'pamr' code this package is derived from")) Description: Nearest shrunken centroid (NSC) classifiers for high-dimensional, low-sample-size data such as gene expression. Implements the original homoscedastic NSC with soft thresholding (Prediction Analysis of Microarrays; Tibshirani et al. 2002 ), its hard- and order-thresholding versions (Sahtout, Wang and Ghimire 2024 ), and the heteroscedastic extension of Sahtout and Wang that uses class-specific variances in both the test statistic and the discriminant function (methods STh3, HTh3 and OTh3). The thresholding parameter is selected by a refined ("deep") cross-validation search. Also provides the simulation design, per-class performance metrics and the relative-heterogeneity diagnostic used in the paper. License: GPL-2 Encoding: UTF-8 Depends: R (>= 3.5.0) Imports: MASS, stats Suggests: testthat (>= 3.0.0), knitr, rmarkdown, pamr VignetteBuilder: knitr Config/testthat/edition: 3 RoxygenNote: 7.3.1 Repository: https://hwanggit.r-universe.dev Date/Publication: 2026-10-23 22:09:56 UTC RemoteUrl: https://github.com/hwanggit/hetnsc RemoteRef: HEAD RemoteSha: b3c7d6737b58834a6571acf112c0c134d9abeb63 NeedsCompilation: no Packaged: 2026-11-08 14:04:18 UTC; root Author: Haiyan Wang [aut, cre], Mohammad Omar Sahtout [aut], Trevor Hastie [ctb] (Author of the 'pamr' code this package is derived from), Robert Tibshirani [ctb] (Author of the 'pamr' code this package is derived from), Balasubramanian Narasimhan [ctb] (Author of the 'pamr' code this package is derived from), Gilbert Chu [ctb] (Author of the 'pamr' code this package is derived from) Maintainer: Haiyan Wang