SAS Multiple Comparison

Gastric Example

with %PROC_R macro

Note that the SAS code employed two macros %PROC_R and %QUIT to allow user to run R within SAS in batch mode. These macros can be downloaded from this link from the Journal of Statistical Software. The main download page of the macro also has a link to the paper which is written/created by Xin Wei. Download the macro, change the rpath macro variable in it to the appropriate path for R. Place it in a folder that you have write permission.