quickcheck icon indicating copy to clipboard operation
quickcheck copied to clipboard

NAs shouldn't be a logical

Open armcn opened this issue 3 years ago • 0 comments

If a generated value has NAs shouldn't be controlled by a logical. There should be more control about the proportion of NAs. A number doesn't work well since the NAs will be randomly distributed. Propose something like:

  • has_na = none()
  • has_na = some()
  • has_na = all()

armcn avatar Apr 18 '22 01:04 armcn