Skip to contents

Building-block: Number of events (multiple events counted multiple times)

Usage

n_event_(dat, intersect_index)

Arguments

dat

data.table. The analysis data set.

intersect_index

A vector of intergers referencing the rows of dat that match both (1) the population to be analyzed and (2) the defenition of an event

Value

an integer value