def merge(self, horizontal=0, vertical=0):

        self.mergeH = horizontal
        self.mergeV = vertical
        for parent in self.parents:
            parent.joinElements(self)

    # -------------------------------------------------------------------------
@todo: docstring
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/survey_MatrixElement.merge