R functions for SHPR annual report

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... |

bar_plot | Bar plot function |

check_attr | Check if object has attribute "map" |

cnames1 | Data set used for example purposes (see examples and... |

cnames2 | Data set used for example purposes (see examples and... |

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... |

eqindSwed | Calculate Swedish EQ-5D-index using all five values extracted... |

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 |

reexports | Objects exported from other packages |

satis_exp | Expected satisfaction VAS dataset |

satis_obs | Observed satisfaction VAS dataset |

satis_riket | Swedish average satisfaction VAS dataset |

save_xlsx | New xlsx saver |

save.xlsx | Old 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... |

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 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.