Learn R Programming

hidradenitis (version 1.0.1)

hasi_bsa_to_ordinal: Converts BSA percentage to the ordinal scale for HASI-R scoring.

Description

Converts BSA percentage to the ordinal scale for HASI-R scoring.

Usage

hasi_bsa_to_ordinal(
  bsa_percent_within_site = NULL,
  bsa_percent_total_body = NULL,
  bsa_ordinal = NULL,
  bodysite = NULL
)

Value

Integer vector representing the ordinal scale values

Arguments

bsa_percent_within_site

Numeric vector representing BSA percentages (0-100)

bsa_percent_total_body

Numeric vector representing BSA percentages (0-15, depending on site)

bsa_ordinal

Numeric vector representing BSA values. (0-6)

bodysite

Optional character vector representing body sites

References

Goldfarb N, Lowes MA, Butt M, King T, Alavi A, Kirby JS. Hidradenitis Suppurativa Area and Severity Index Revised (HASI-R): psychometric property assessment. Br J Dermatol. 2021 May;184(5):905-912. doi: 10.1111/bjd.19565. Epub 2020 Dec 30. PMID: 32969027; PMCID: PMC8573730.

See Also

Other HASI: hasi_r_num()

Examples

Run this code
hasi_bsa_to_ordinal(c(0, 2, 5, 12, 25, 40, 75))

Run the code above in your browser using DataLab