estimBGC: ESTMATION OF gBGC FROM SFS DATA


This is a preliminary R version of the program.
It was partly tested but it was not yet intensively used for large datasets.

To use the R scripts you need:

- to copy all the R files in the same folders (otherwise, correct paths must be given in the the esteemBGC file)
- to install two specific libraries: "HMP" and "VGAM" 
- to source the optimizeBGC.R file

The descriptions of all functions are given directly in each R file.

The main useful functions are:
- optimizeBGC
- optimizeBGCwith3error
- saturatedlnL
