.get_lfs: Calculate the Level Frequency Score (LFS)
Description
This function calculates the Level Frequency Score (LFS) for a given EQ-5D state and a specified version of EQ-5D.
If at least one domain contains a missing entry, the whole LFS is set to be NA.
Usage
.get_lfs(s, eq5d_version)
Value
A character vector representing the calculated LFS.
Arguments
s
A character vector representing the EQ-5D state, e.g. 11123.
eq5d_version
A character string specifying the version of EQ-5D, i.e. 3L or 5L.