Skip to content

Estimate Parent-Proxy Child Cough Specific Quality of Life Utilities

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

jrob95/pcqolutilities

Repository files navigation

pcqolutilities pcqolutilities logo

Lifecycle: experimental R-CMD-check

The goal of pcqolutilities is to facilitate the easy estimation of health utilities for the PC-QoL

Installation

You can install the development version of pcqolutilities from GitHub with:

# install.packages("pak")
pak::pak("jrob95/pcqolutilities")

Example

You might have a data frame with columns named ready for the package

library(pcqolutilities)

# with a simple data frame
pcqol_utilities(pcqol_raw)
#> # A tibble: 7 × 7
#>   upset awake leave leada scare overp utility
#>   <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>   <dbl>
#> 1     1     1     1     1     1     1   1    
#> 2     2     2     2     2     2     2   0.967
#> 3     3     3     3     3     3     3   0.861
#> 4     4     4     4     4     4     4   0.793
#> 5     5     5     5     5     5     5   0.600
#> 6     6     6     6     6     6     6   0.523
#> 7     7     7     7     7     7     7   0.215

Or maybe you need to specify which columns match the PC-QoL items

library(pcqolutilities)

# a data frame with non-standard column names
pcqol_utilities(pcqol_raw2,
  colnames = c(
    upset = "ups",
    scare = "sca",
    overp = "ove",
    leave = "lwo",
    leada = "lnl",
    awake = "awa"
  )
)
#> # A tibble: 7 × 7
#>     ups   awa   lwo   lnl   sca   ove utility
#>   <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>   <dbl>
#> 1     1     1     1     1     1     1   1    
#> 2     2     2     2     2     2     2   0.967
#> 3     3     3     3     3     3     3   0.861
#> 4     4     4     4     4     4     4   0.793
#> 5     5     5     5     5     5     5   0.600
#> 6     6     6     6     6     6     6   0.523
#> 7     7     7     7     7     7     7   0.215

About

Estimate Parent-Proxy Child Cough Specific Quality of Life Utilities

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages