associations function

Constructor for the S4 associations object.