Man pages for ahcombs/bayesactR
Functions for Running BayesACT Simulations Using an R Workflow

absolute_pathConvert relative paths to absolute paths
add_actorAdd an actor line to a actor nodelist data frame
add_interactionAdd an interaction line to the edgelist
add_leading_zerosAdd leading zero before decimal point to vectors of numbers...
agentWrite agent into input
basic_event_dfGenerate an events file for a dyad
blank_edgelistCreate a blank interaction edgelist data frame
blank_nodelistCreate a blank actor nodelist data frame
check_abbrevCheck abbreviation validity
check_agent_opt_argsCheck agent optional argument input
check_dict_componentsCompatibility check: dictionary and component
check_dict_groupCompatibility check: dictionary and group
check_dict_statCompatibility check: dictionary and stat
check_eventsCheck events file input for format errors
check_exitCheck whether BayesACT completed successfully and print a...
check_identity_prob_matchCheck that all identities have a corresponding probability...
check_input_listCheck input for agreement with provided lists
check_interaction_opt_argsCheck institution optional arguments
check_probsCheck that probabilities given sum to 1
component_splitSplit a given data frame into identity, behavior, and...
construct_df_filenameGiven a key and assorted information OR a dataframe,...
create_dir_if_neededCreate directory if it doesn't already exist
dict_specsChecks whether an entry is a valid file, a valid actdata key,...
eventfile_outWrite out event file
event_linesCreate events line for input file
expandExpand string into vector of given length for line spec
extract_dict_listextract_dict_list
fileinputPath check
get_actor_prob_lineUtility for building a line in the interaction section of the...
get_agent_opt_arg_linesGet lines to insert in file for agent optional arguments
get_eqn_fileConstruct file string (equation)
get_interaction_opt_arg_linesGet lines to insert in file for interaction optional...
get_listsConvert comma-separated strings in cell entries to lists when...
insert_linesInsert lines into template
interactionAdd an interaction line to the simulation text file
make_file_stringConstruct file string (dictionary)
remove_lineRemove lines that contain a given string
run_bayesactRun BayesACT for a single simulation file
save_dict_dfSave dataframe dictionary
save_eqn_actdataSave files where bayesact can find them
simfile_outWrite sim information to .txt file
standardize_optionstandardize_option
wait_until_donePause until terminal process is done
write_input_from_dfWrite BayesACT input files
ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.