Installation"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

options(rmarkdown.html_vignette.check_title = FALSE)  

Installation

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:

``` {r messsage = FALSE, warning = FALSE, eval = FALSE}

install.packages("devtools")

devtools::install_github("MichaelLLi/evalITR", ref = "causal-ml")

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`.


### Parallelization

(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. 

```r
library(furrr)
library(future.apply)

# check the number of cores
parallel::detectCores()

# set the number of cores
nworkers <- 4
plan(multisession, workers =nworkers)


Try the evalITR package in your browser

Any scripts or data that you put into this service are public.

evalITR documentation built on Aug. 26, 2023, 1:08 a.m.