Skip to contents

After door(), co-occurrence columns are named door_<original "code & code">. This function copies those values into accum$connection.counts, replacing the raw co-occurrence columns, so model() / ena.make.set() use the door-adjusted data without changing downstream code paths.

Usage

replace_door(accum, door_df)

Arguments

accum

Object from tma::accumulate().

door_df

Output of door() (must include door_* columns).

Value

accum with updated connection.counts.