changePhase function

Phase operator: move to next phase

Phase operator: move to next phase

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.

Returns

a string containing the new phase.

Examples

## assessment uses two phases changePhase("P1", assessment_structure_math) ## P2 changePhase("P2", assessment_structure_math) ## P1
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2022-05-18