A SAS program integrating R functionalities to implement pattern-mixture models