Multiplre Response Subgroup Identification in GUIDE
The current package is still under heavily devolopment.
For subgroup identification use GUIDE algorithm.
Here are the links and paper for reference:
Loh, W.-Y., Man, M. and Wang, S. (2019), Subgroups from regression trees with adjustment for prognostic effects and post-selection inference, Statistics in Medicine
Loh, W.-Y., Fu, H., Man, M., Champion, V. and Yu, M. (2016), Identification of subgroups with differential treatment effects for longitudinal and multiresponse variables, Statistics in Medicine
library(devtools)
install_github('baconzhou/MrS')
- OpenMP support is required.
Please refer to R Compiler Tools for Rcpp on macOS if you have problem with compliering the package.
I used homebrew for libomp
brew update
brew install llvm libomp gcc
In the ~/.R/Makevars
file
CC=/usr/local/opt/llvm/bin/clang
CXX=/usr/local/opt/llvm/bin/clang++
CXX1X=/usr/local/opt/llvm/bin/clang++
CXX11=/usr/local/opt/llvm/bin/clang++
FLIBS=-L/usr/local/Cellar/gcc/8.2.0 -L/usr/local/Cellar/gcc/8.2.0/lib/gcc/8 -lgfortran -lquadmath -lm