Would like to do this in R. I guess it is not regression but maybe some form of probability.

What I am trying to determine is if we want to increase sales of course C what courses help drive that. (I understand there are other factors but this model is based solely on related courses)