changePhase {maat}R Documentation

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

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


[Package maat version 1.1.0 Index]