Skip to contents

This function returns 0 for any grade ending in ".0" fitting with the intent of the score as anything other than "0.0" cannot be a maximum.

Usage

geboes_continuous(x)

Arguments

x

A character vector of Geboes score grades

Value

The numeric value of the continuous Geboes score (the integer value of the maximum grade)

References

See Supplementary Table 1 in the reference below

Magro F, Lopes J, Borralho P, et al. Comparing the Continuous Geboes Score With the Robarts Histopathology Index: Definitions of Histological Remission and Response and their Relation to Faecal Calprotectin Levels. Journal of Crohn’s and Colitis. 2020;14(2):169-175. doi:10.1093/ecco-jcc/jjz123

Examples

# Generate all continuous scores
geboes_continuous(geboes.score::geboes_grades$grade)
#>  [1]  0  1  2  3  0  4  5  6  0  7  8  9  0 10 11 12  0 13 14 15  0 16 17 18  0
#> [26] 19 20 21 22