Learn R Programming

maat (version 1.1.0)

changePhase: Phase operator: move to next phase

Description

changePhase is an operator for phase values.

Usage

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

Run this code
# NOT RUN {
## assessment uses two phases
changePhase("P1", assessment_structure_math) ## P2
changePhase("P2", assessment_structure_math) ## P1

# }

Run the code above in your browser using DataLab