- if (key == "single") {//stores estimators in a vector
- singleEstimators.clear(); //clears out old values
- if (value == "default") { value = "sobs-chao-ace-jack-bootstrap-shannon-npshannon-simpson-rarefraction"; }
- splitAtDash(value, singleEstimators);
- }
- if (key == "rarefaction") {//stores estimators in a vector
- rareEstimators.clear(); //clears out old values
- if (value == "default") { value = "rarefraction"; }
- splitAtDash(value, rareEstimators);
- }
- if (key == "shared") {//stores estimators in a vector
- sharedEstimators.clear(); //clears out old values
- if (value == "default") { value = "sharedChao-sharedAce-sharedJabund-sharedSorensonAbund-sharedJclass-sharedSorClass-sharedJest-sharedSorEst-SharedThetaYC-SharedThetaN"; }
- splitAtDash(value, sharedEstimators);
- }
- if (key == "summary") { //stores summaries to be used in a vector
- summaryEstimators.clear();
- if (value == "default") { value = "summary-chao-ace-jack-bootstrap-shannon-npshannon-simpson"; }
- splitAtDash(value, summaryEstimators);
- }
- if (key == "sharedsummary") { //stores sharedSummaries to be used in a vector
- sharedSummaryEstimators.clear();
- if (value == "default") { value = "sharedChao-sharedAce-sharedJabund-sharedSorensonAbund-sharedJclass-sharedSorClass-sharedJest-sharedSorEst-SharedThetaYC-SharedThetaN"; }
- splitAtDash(value, sharedSummaryEstimators);
- }
- if (key == "sharedrarefaction") { //stores sharedrarefaction to be used in a vector
- sharedRareEstimators.clear();
- if (value == "default") { value = "sharedobserved"; }
- splitAtDash(value, sharedRareEstimators);
- }
- if (key == "line") {//stores lines to be used in a vector