SingletonDefault function

Default singleton function

Default singleton function

Function for GaussSuppressionFromData

SingletonDefault(data, freqVar, protectZeros, secondaryZeros, ...)

Arguments

  • data: Input data, possibly pre-aggregated within GaussSuppressionFromData
  • freqVar: A single variable holding counts (input to GaussSuppressionFromData)
  • protectZeros: Suppression parameter (see GaussSuppressionFromData)
  • secondaryZeros: Suppression parameter (see GaussSuppressionFromData)
  • ...: Unused parameters

Returns

singleton, GaussSuppression input

Details

This function marks input cells as singletons according to the input frequencies (freqVar). Zero frequencies are set to singletons when protectZeros or secondaryZeros is TRUE. Otherwise, ones are set to singletons. Empty freqVar is treated as all frequencies being ones.