fss_as_factor: Functional Status Scale Categories

View source: R/pedalfast_factor.R

fss_as_factorR Documentation

Functional Status Scale Categories

Description

Mapping FSS Total scores (integer values) to categorical values.

Usage

fss_as_factor(x, long_label = FALSE, ...)

Arguments

x

an integer vector

long_label

logical if the score range should be prepended to the label.

...

not currently used.

Details

FSS scores are integer values from 6 to 30.

The a mapping of ranges of integer values to categories is

  • FSS 6, 7: Good

  • FSS 8, 9: Mildly abnormal

  • FSS 10, 11, 12, 13, 14, 15: Moderately abnormal

  • FSS 16, 17, 18, 19, 20, 21: Severe abnormal

  • FSS 22, 23, 24, 25, 26, 27, 28, 29, 30: Very severely abnormal

Value

A factor of equal length to the input x with labels for the categorical ranges of FSS.

Examples

x <- seq(5, 32)
data.frame(x           = x,
           short_label = fss_as_factor(x),
           long_label  = fss_as_factor(x, long_label = TRUE))


pedalfast.data documentation built on Nov. 11, 2023, 1:07 a.m.