All functions

add_attr()

Add attributes from one data frame to another

add_prom()

Add PROM to operation data

age_pyramid()

Age-pyramid plot function

attr_to_factor()

Convert object with attributes in "map" to factor

avvikelse()

Calculate deviation (avvikelse) for each hospital using a linear model

bar_plot()

Bar plot function

check_attr()

Check if object has attribute "map"

cnames1

Data set used for example purposes (see examples and description in swe_landsting)

cnames2

Data set used for example purposes (see examples and description in swe_landsting)

compass()

Compass plot function

compass_data

Compass dataset

compass_riket()

Compass riket plot function

eq5d_3l()

Simple function to extract dimensions of EQ-5D profile

eqindBrit()

Calculate Brittish EQ-5D-index using all five values extracted from eq5d_3l()

eqindSwed()

Calculate Swedish EQ-5D-index using all five values extracted from eq5d_3l()

eq_vas_exp

Expected EQ VAS dataset

eq_vas_obs

Observed EQ VAS dataset

eq_vas_riket

Swedish average EQ VAS dataset

expected()

Expected PROM

filter_cens()

Filter variable for existing data

km_plot()

Kaplan-Meier plot function

line_plot()

Line plot function

mutate_label()

Extract attribute "map" and mutate object to be labelled

norm_compass()

Normalization for compasses

norm_compass_data

Normalized compass dataset

observed()

Observed PROM

pain_exp

Expected pain VAS dataset

pain_obs

Observed pain VAS dataset

pain_riket

Swedish average pain VAS dataset

pick_valid()

Help function for add_prom

prom_trends()

PROM-trends plot function

satis_exp

Expected satisfaction VAS dataset

satis_obs

Observed satisfaction VAS dataset

satis_riket

Swedish average satisfaction VAS dataset

save_xlsx()

New xlsx saver

size_order()

Make an ordered factor with most important level first

survSummary()

Survival analysis summary

survSummary_states()

Survival analysis summary for competing risk results

swe

Sweden map data set, compressed version

swe_allpoints

Sweden map data set

swe_kommuner

Sweden map data set with township included, compressed version

swe_kommuner_allpoints

Sweden map data set with township included

swe_landsting

Sweden map data set with county included, compressed version

swe_landsting_allpoints

Sweden map data set with county included

trend_plot()

Trend plot function