test_baseline_policy {cramR} | R Documentation |
Validate or Set the Baseline Policy
Description
This function validates a provided baseline policy or sets a default baseline policy of zeros for all individuals.
Usage
test_baseline_policy(baseline_policy, n)
Arguments
baseline_policy |
A list representing the baseline policy for each individual. If |
n |
An integer specifying the number of individuals in the population. |
Value
A validated or default baseline policy as a list of numeric values.
[Package cramR version 0.1.0 Index]