You can install the released version of evalITR from CRAN with:
# Install release version from CRAN (updating evalITR is the same command)
install.packages("evalITR")
Or, you can install the development version of evalITR from GitHub with:
# install.packages("devtools")
::install_github("MichaelLLi/evalITR", ref = "causal-ml") devtools
If you want to use the latest version of the package, you can install
the development version of evalITR by specifying the branch name in
devtools::install_github
.
(Optional) if you have multiple cores, we recommendate using multisession futures and processing in parallel. This would increase computation efficiency and reduce the time to fit the model.
library(furrr)
library(future.apply)
# check the number of cores
::detectCores()
parallel
# set the number of cores
<- 4
nworkers plan(multisession, workers =nworkers)