View source: R/write_input_file.R
agent | R Documentation |
Compile all necessary information for an individual agent and add it to a template object that can be written to a text file
agent(
name,
bayesact_dir,
dict = "usfullsurveyor2015",
dict_stat = "mean",
dict_group = "all",
eqns = "us2010",
eqns_group = c("av", "female"),
opt_args = ""
)
name |
string agent name |
bayesact_dir |
top level directory at which the bayesact code lives |
dict |
string or length 4 vector, key(s) of an available dictionary OR filepaths OR data frames. If there are any file paths or data frames, it must be a length 4 vector. |
dict_stat |
string or length 4 vector ( |
dict_group |
string or length 4 vector ( |
eqns |
string or length 2 vector, key(s) of an available equation set OR filepath(s). First is group for impression ABO equation, second is group for emotion equation. |
eqns_group |
string or length 2 vector ( |
opt_args |
more agent-level parameters that may or may not be included |
file with inserted lines
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.