Altair slc calling r multiple times and saving and restoring the r workspace sql example
This is like creating permanent sas libraries for continued use.
Too long to post, see
https://github.com/rogerjdeangelis/altair-slc-calling-r-multiple-times-and-saving-and-restoring-the-r-workspace-sql-example
PROBLEM; For lab mouse 1 and lab mouse 2 find the dose date closest but before remission
THIS IS WHAT WE WANT total obs=2
LAB DOSE_ REMISSION CLOSEST BEFORE
Obs MOUSE DATE DATE DOSE
1 1 20220104 20220105 18
2 2 20220103 20220104 19