Ensure object has bidirCorrelation slot
Source:R/16_compute_bidirectional_corr.R
ensureBidirCorrelationSlot.RdSafely upgrades a CoPro/CoProSingle/CoProMulti object created with an
older package version (without the bidirCorrelation slot) to the current
class definition by recreating an instance of the same class and copying
over all available slots. If bidirCorrelation already exists, the object is
returned unchanged.