View source: R/define_contexts.R
define_contexts | R Documentation |
Define truth for AUs active in different contexts
define_contexts(aus, n_active_aus, contexts = NULL, au_fidelity = 1)
aus |
A character vector of AUs |
n_active_aus |
A numeric vector, the same length as contexts, indicating the number of AUs active per context. |
contexts |
A character vector of contexts |
au_fidelity |
A number between 1 and 0.5, indicating the probability that an AU is active in a context. |
A matrix of probabilities with contexts in rows and AUs in columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.