Categorising composites
In this tutorial, we will explore how to convert continuous composites, like the DAS28ESR or SDAI, into discrete disease activity levels.
julia
using RheumaComposites
using Unitful
As long as the composite you are defining is a continuous composite, all you need to do is to call categorise
.
julia
sdai = SDAI(tjc=2, sjc=1, pga=6u"cm", ega=5.5u"cm", crp=15u"mg/L")
sdai isa ContinuousComposite
true
Well, that was expected!
Now let's see what the discrete disease activity level of this score would be.
julia
categorise(sdai)
"moderate"
Cutoffs
The cutoffs used per composite and category are:
Disease activity | DAS28ESR | DAS28CRP | SDAI | CDAI |
---|---|---|---|---|
Remission | ||||
Low | ||||
Moderate | ||||
High |
This page was generated using Literate.jl.