Currently taking a course on decision analysis. There is a concept called "flipping a probability tree", illustrated in the following example.
May I know:
(1) Is there a way to do the above graphically in R? I tried looking at packages like rpart
, party
, rpart.plot
but didn't get very far.
(2) If graphical representation is not possible, are there existing R functions that can easily calculate the various branch probabilities, endpoint probabilities?