Supplement 1. R code used in statistical analyses.
“rscript.r” contains commented R code used to perform statistical analyses described in the paper. Details of the simulated data set provided within the script can be found as comments in the code. Note that the optimization algorithms may encounter convergence difficulties with small data sets.