This function is for accessing RL Agent templates that ship with the rlsims package and is exported for pedagogical purposes.

use_agent_template(name, read = TRUE)

Arguments

name

Name of the agent template to use.

read

Logical: Should the RL Agent template be read? Default is TRUE.

Value

If read = TRUE (default), the results of base::readLines on the RL Agent template; otherwise the template file path.

Examples

if (FALSE) {
use_agent_template("td_conditioning")
}