Package: fastpolicytree 1.0

fastpolicytree: Constructs Policy Trees from Covariate and Reward Data

Constructs optimal policy trees which provide a rule-based treatment prescription policy. Input is covariate and reward data, where, typically, the rewards will be doubly robust reward estimates. This package aims to construct optimal policy trees more quickly than the existing 'policytree' package and is intended to be used alongside that package. For more details see Cussens, Hatamyar, Shah and Kreif (2025) <doi:10.48550/arXiv.2506.15435>.

Authors:James Cussens [aut, cre], Julia Hatamyar [ctb], Vishalie Shah [ctb], University of Bristol [cph], MRC [fnd]

fastpolicytree_1.0.tar.gz
fastpolicytree_1.0.zip(r-4.7)fastpolicytree_1.0.zip(r-4.6)fastpolicytree_1.0.zip(r-4.5)
fastpolicytree_1.0.tgz(r-4.6-x86_64)fastpolicytree_1.0.tgz(r-4.6-arm64)fastpolicytree_1.0.tgz(r-4.5-x86_64)fastpolicytree_1.0.tgz(r-4.5-arm64)
fastpolicytree_1.0.tar.gz(r-4.7-arm64)fastpolicytree_1.0.tar.gz(r-4.7-x86_64)fastpolicytree_1.0.tar.gz(r-4.6-arm64)fastpolicytree_1.0.tar.gz(r-4.6-x86_64)
fastpolicytree_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
fastpolicytree/json (API)

# Install 'fastpolicytree' in R:
install.packages('fastpolicytree', repos = c('https://jcussens.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jcussens/tailoring/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.60 score 5 scripts 128 downloads 2 exports 1 dependencies

Last updated from:bc44b3398e. Checks:11 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING156
linux-devel-x86_64WARNING129
source / vignettesOK170
linux-release-arm64WARNING124
linux-release-x86_64WARNING128
macos-release-arm64WARNING151
macos-release-x86_64WARNING256
macos-oldrel-arm64WARNING144
macos-oldrel-x86_64WARNING389
windows-develWARNING121
windows-releaseWARNING125
windows-oldrelWARNING181
wasm-releaseOK114

Exports:fastpolicytreegithash

Dependencies:Rcpp