| evaluate_itr | R Documentation | 
Evaluate ITR
evaluate_itr(
  fit = NULL,
  user_itr = NULL,
  outcome = c(),
  treatment = c(),
  data = list(),
  budget = 1,
  ngates = 5,
  ...
)
| fit | Fitted model. Usually an output from  | 
| user_itr | A user-defined function to create an ITR. The function should take the data as input and return an unit-level continuous score for treatment assignment. We assume those that have score less than 0 should not have treatment. The default is  | 
| outcome | A character string of the outcome variable name. | 
| treatment | A character string of the treatment variable name. | 
| data | A data frame containing the variables specified in  | 
| budget | The maximum percentage of population that can be treated under the budget constraint. | 
| ngates | The number of gates to use for the ITR. The default is 5.
A user-defined function to create an ITR. The function should take the data as input and return an ITR. The output is a vector of the unit-level binary treatment that would have been assigned by the individualized treatment rule. The default is  | 
| ... | Further arguments passed to the function. | 
An object of itr class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.