
Installation instructions for basic and first time users:

1. Download the CPGChronX.zip file
2. Download the hdrcde.zip file
3. Open up R and go to Packages > Install packages from Local zip files, choose the hdrcde.zip file you just downloaded.
4. Repeat with the CPGChronX.zip file
5. Type library(hdrcde)
6. Type library(CPGchron)
7. Now create a directory on your C drive called CPGchron (it needs to be directly on the c drive).
8. Within this directory, create three more called Input, Output and CalCurve.
9. Now navigate to C:\program files\R\R-XXXXX\library\CPGChron\Data. In here there should be a file called Rdata.zip
10. Double click on it and move the files Glendalough.dat and Glendaloughddepths.txt to the input directory.
11. Move the BigCal.txt file to the CalCurve directory.
Everything is now set up

Example run (with Glendalough.dat):

1. At the command prompt in R, type library(CPGchron)
2. Type CPGmenu() and choose option 1.
3. If you've followed the steps above you should not need to change the default path, you just need to tell it that the file name is Glendalough.
4. Now choose option 2 to calibrate the radiocarbon dates.
5. Choose option 3 and short to do a run of the CPG model.
6. Choose option 4 to run the prediction stage.
7. Choose option 6 to produce a plot of the chronology.
