| mascot_state | R Documentation |
Walks the progress ladder regardless of best_p so the player sees
the full emotional arc unfold during a run. The resolved face is
reserved for the final frame after a shippable run – it isn't
returned mid-flight from this function. best_p is kept on the
signature for back-compat callers but no longer short-circuits the
ladder.
mascot_state(progress, best_p = NA_real_, escalating = FALSE)
progress |
Numeric fraction of the run budget used (0 to 1). |
best_p |
Numeric smallest p-value found so far in the run,
or |
escalating |
Logical: is the derived-metric escalation phase currently active. |
One of "composed", "uncertain", "worried", "anxious",
"panicked", "desperate".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.