Skip to main content
. Author manuscript; available in PMC: 2020 Nov 1.
Published in final edited form as: Pharmacoeconomics. 2019 Nov;37(11):1329–1339. doi: 10.1007/s40273-019-00837-x

Table 3.

Recommended prefixes in variable names that encode data and variable type.

Prefix Data type Prefix Variable type
<> (no prefix) scalar n number
v vector p probability
m matrix r rate
a array u utility
df data frame c cost
dtb data table hr hazard ratio
l list rr relative risk
ly life years
q QALYs
se standard error

QALYs quality-adjusted life years