acrRA: Helper function for creating an acrRA class.

Description Usage Arguments Value Examples

View source: R/responseRA.R

Description

Creates an acr RA object from different parameters used in calculating ACR20/50/70 scores.

Usage

1
2
3
4
5
6
7
8
9
acrRA(
  sjc = numeric(),
  tjc = numeric(),
  ptGA = numeric(),
  ptPain = numeric(),
  phGA = numeric(),
  haq = numeric(),
  apr = numeric()
)

Arguments

sjc

numeric swollen joint count. Numeric between 0 and 28 of total number of swollen.

tjc

numeric tender joint count. Numeric between 0 and 28 of total number of twollen.

ptGA

numeric patient global assessment score between 0 and 100.

ptPain

numeric patient pain assessment score between 0 and 100.

phGA

numeric physician global assessment score between 0 and 100.

haq

numeric health assessment questionairre score between 0 and 3.

apr

numeric acute phase reactant value. Either CRP or ESR

Value

An acrRA object.

Examples

1
2
3
4
 obj1 <- acrRA(sjc=8, tjc=12, ptGA=50, ptPain=35, phGA=60, haq=0.850, apr=15)
 obj2 <- acrRA(sjc=4, tjc=7, ptGA=20, ptPain=25, phGA=30, haq=0.350, apr=10)

 acrResponse(obj1, obj2)

fragla/acreular documentation built on June 8, 2020, 2:46 p.m.