MDLD/odd function (R)