Skip to contents

Apply EMA smoothing to co-occurrence data

Usage

ema_door(data, cols_of_interest, alpha = 0.3)

Arguments

data

Data frame with co-occurrence columns

cols_of_interest

Character vector of code-pair columns

alpha

Smoothing factor (0, 1]

Value

Data frame with door_* columns attached