Skip to contents

Get PRISM activity level cutpoints for given diseases and locations

Usage

get_prism_cutpoints(locations, diseases)

Arguments

locations

location(s) for which to return the cutpoints. A location two-letter abbreviation as in the short_name column of us_location_table, or an array of those abbreviations.

diseases

disease(s) for which to return the cutpoints. One of "ARI", "COVID-19", "Influenza", or "RSV", or an array of those values.

Value

The cutpoints, as an ordered list of vectors.

Examples

get_prism_cutpoints("WA", "Influenza")
#> [[1]]
#> prop_lower_bound         prop_low    prop_moderate        prop_high 
#>      0.000000000      0.002593097      0.030257486      0.057921875 
#>   prop_very_high prop_upper_bound 
#>      0.085586264      1.000000000 
#> 

get_prism_cutpoints(c("US", "WA"), "COVID-19")
#> [[1]]
#> prop_lower_bound         prop_low    prop_moderate        prop_high 
#>      0.000000000      0.006015091      0.017041933      0.028068775 
#>   prop_very_high prop_upper_bound 
#>      0.039095617      1.000000000 
#> 
#> [[2]]
#> prop_lower_bound         prop_low    prop_moderate        prop_high 
#>      0.000000000      0.008711154      0.022004050      0.035296947 
#>   prop_very_high prop_upper_bound 
#>      0.048589843      1.000000000 
#> 

get_prism_cutpoints(c("US", "WA"), c("ARI", "RSV"))
#> [[1]]
#> prop_lower_bound         prop_low    prop_moderate        prop_high 
#>        0.0000000        0.1046484        0.1381816        0.1717147 
#>   prop_very_high prop_upper_bound 
#>        0.2052479        1.0000000 
#> 
#> [[2]]
#> prop_lower_bound         prop_low    prop_moderate        prop_high 
#>     0.0000000000     0.0004551485     0.0061158985     0.0117766486 
#>   prop_very_high prop_upper_bound 
#>     0.0174373986     1.0000000000 
#>