Reply To: Changing the Percent Values on the Sampler Plugin

#756
Bill Finzer
Keymaster

Hello Shauna,

The current CODAP sampler does not make this easy, more’s the pity. But it is possible, though with the collector rather than a spinner. (You may have already figured this out?) I’ll list my steps and I’ll include a link to the document that has the result.

  1. Add the Sampler plugin (of course)
  2. With the Table tool, make a <new> dataset.
  3. Click on the green rectangle on the far left of this table and choose New Cases.
  4. Enter 200 and press the New Cases button.
  5. You could hand enter 191 “yes” values and 9 “no” values, but it’s simpler to use the formula: if(caseIndex<191,”yes”,”no”)
  6. In the Sampler, choose the Collector device.
  7. Fill in the number of items and samples you want and press Start.

Whew! Sure hope we get to continue Sampler development soon!

Here is a link to a worked out example.