Skip to content

Releases: marberts/sps

sps 0.6.4

Choose a tag to compare

@marberts marberts released this 19 Jul 13:09
  • Small improvements to the documentation.

  • Now using {tinytest} and {litedown}.

sps 0.6.3

Choose a tag to compare

@marberts marberts released this 19 Nov 04:50
  • Extra arguments to sps_iterator() now work correctly (#9).

sps 0.6.2

Choose a tag to compare

@marberts marberts released this 24 Aug 04:14
1938bc3
  • Added divisor_method() to more easily generate divisor functions for
    prop_allocation() by name.

  • prop_allocation() is now faster.

  • Added sps_iterator() to make an iterator that draws a SPS one unit at a time.

sps 0.6.1

Choose a tag to compare

@marberts marberts released this 10 Jul 02:26
1fdac5d
  • Added a new vignette to show how inclusion probabilities are calculated.

  • inclusion_prob() and sps() now use kit::topn() when available for
    partial sorting.

sps 0.6.0

Choose a tag to compare

@marberts marberts released this 09 Feb 01:48
  • inclusion_prob() is now faster with a single stratum, improving the performance
    of sps() and expected_coverage().

  • By default, sps_repweights() automatically picks the smallest
    tau to keep the replicate weights from being negative. Inspired by
    svrep::make_gen_boot_factors().

  • Now requires R >= 4.1, which has been the case for a while (closing #2).

sps 0.5.4

Choose a tag to compare

@marberts marberts released this 23 Feb 21:07
  • Added becomes_ta() to determine the sample size when a unit enter the
    take-all stratum.

  • Internal changes to the way classes are instantiated. No user-visible changes.

  • Updated maintainer email.

sps 0.5.3

Choose a tag to compare

@marberts marberts released this 11 Nov 01:52
  • Documentation only; no changes to any functions.

Version 0.5.2

Choose a tag to compare

@marberts marberts released this 12 Oct 03:59
  • Added a vignette.

  • A single sample size is now recycled for each stratum when drawing samples or calculating inclusion probabilities.

  • Added a cutoff argument that puts units with sizes above the cutoff into a take-all stratum.

  • sps objects now inherit from numeric instead of integer.

  • Replacement methods for length and levels no longer mangle sps objects.