Skip to content

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 activityDAS28ESRDAS28CRPSDAICDAI
Remission< 2.6< 2.4 3.3 2.8
Low 3.2 2.9 11.0 10.0
Moderate 5.1 4.6 26.0 22.0
High> 5.1> 4.6> 26.0> 22.0

This page was generated using Literate.jl.