verticalize_incidence: Verticalize incidence data after computation

View source: R/incidence_utils.R

verticalize_incidenceR Documentation

Verticalize incidence data after computation

Description

Incidence data are organized horizontally, estimation for each syndrom are in columns (with suffixes .upper, .lower, .w2) This function reshape to a vertical storage format Output will be [syndrome, type, value, upper, lower]

Usage

verticalize_incidence(inc, ids, syndromes, syndrome.column = "syndrome")

Arguments

inc

data.frame with horizontal incidence (a set of columns for each syndrom)

ids

names of the row indentifiyng column

syndromes

list of syndrome names used to produce this dataset

syndrome.column

name of the column that will contain syndromic name

See Also

calc_adjusted_incidence


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.