MDLD/function (R)