Creates a simulated codeSet with the given parameters
createSimulatedCodeSet( length, baserate, kappaMin, kappaMax, precisionMin, precisionMax, ..., tries = 50 )
| length | the length of the simulated |
|---|---|
| baserate | |
| kappaMin | the minimum kappa of the simulated |
| kappaMax | the maximum kappa of the simulated |
| precisionMin | the minimum precision of the simulated |
| precisionMax | the maximum precision of the simulated |
| ... | Parameters passed to createRandomSet (e.g. type = "set" or type = "ct") |
| tries | the maximum number of tries to generate a valid set, smaller set lengths may require an increased number of tries |
A codeSet that fulfills the given parameters
codeSets are generated by first picking a random kappa within its range and a random precision within its range. If the random kappa, random precision, and baserate are not mathematically possible, then the precision is resampled from a range of mathematically possible values within its range. A unique simulated codeSet is then constructed given these parameters.