time_odtr: Optimal Dynamic Treatment Regime: All steps

View source: R/time_odtr.R

time_odtrR Documentation

Optimal Dynamic Treatment Regime: All steps

Description

Optimal dynamic treatment regime: All steps.

Usage

time_odtr(data, outcome.name, A1, A2, H2)

Arguments

data

Dataframe.

outcome.name

Name of outcome variable.

A1

Name of A1 variable.

A2

Name of A2 variable.

H2

Name of H2 variable.

Details

Optimal dynamic treatment regime: All steps, extract the optimal regime.

Value

Dataframe in a useable format for rsample::bootstraps.

Source

Section 13.3

Examples

# An example can be found in the location identified in the
# source section above at the github site
# https://github.com/FrankLef/FundamentalsCausalInference.

FrankLef/fciR documentation built on Nov. 12, 2023, 6:09 a.m.