changePhase is an operator for phase values.

changePhase(phase, assessment_structure)

Arguments

phase

a string containing the current phase in the format P?, where ? is a number.

assessment_structure

an assessment_structure object.

Value

a string containing the new phase.

Examples

## assessment uses two phases
changePhase("P1", assessment_structure_math) ## P2
changePhase("P2", assessment_structure_math) ## P1