Define truth for AUs active in different contexts
define_contexts(aus, n_active_aus, contexts = NULL, au_fidelity = 1)A matrix of probabilities with contexts in rows and AUs in columns
A character vector of AUs
A numeric vector, the same length as contexts, indicating the number of AUs active per context.
A character vector of contexts
A number between 1 and 0.5, indicating the probability that an AU is active in a context.