R procedures used with the LDPK processing toolkit