I don't think Sum works on anything other than dates. So if you want to manipulate the recurrence times you need to do so explicitly using OxCal's algebra. Also as Ray says you should cross-reference the differences if you use them twice, or you can just calculate them outside the P_Sequence. You could calculate the mean recurrence and the sum of recurrence distributions as below, but the sum of distributions does not have any obvious meaning to me.
Plot()
{
P_Sequence(0.5)
{
Boundary("core base"){z=300;};
R_Date("6", 6000, 60){z=260;};
Date("event5"){z=240;};
R_Date("5", 5000, 50){z=220;};
Date("event4"){z=200;};
R_Date("4", 4000, 40){z=180;};
Date("event3"){z=160;};
R_Date("3", 3000, 30){z=140;};
Date("event2"){z=120;};
R_Date("2", 2000, 20){z=100;};
Date("event1"){z=80;};
R_Date("1", 1000, 10){z=60;};
Boundary("core top"){};
};
// recurrence times
Difference("d54","event5","event4");
Difference("d53","event4","event3");
Difference("d52","event3","event2");
Difference("d51","event2","event1");
mean_d = (d51+d52+d53+d54)/4;
sum_d = d51|d52|d53|d54;
};
Best wishes
Andrew
--
Dr. Andrew Millard
e:
A.R.M...@durham.ac.uk | t:
+44 191 334 1147
w:
http://www.dur.ac.uk/archaeology/staff/?id=160
Senior Lecturer in Archaeology, Durham University, UK