Replace raw co-occurrence columns with door-adjusted values
replace_door.RdAfter 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.
Arguments
- accum
Object from
tma::accumulate().- door_df
Output of
door()(must includedoor_*columns).