The goal of prnsamplr is to coordinate survey samples with the help of permanent random numbers.
You can install the released version of prnsamplr from CRAN with:
install.packages("prnsamplr")
This is a basic example which shows you how to solve a common problem:
library(prnsamplr)
SampledData <- samp(method=pps, df=ExampleData, nsamp=~nsample, stratid=~stratum, prn=~rands, size=~sizeM)
In version 1.0.0 was implemented a major overhaul of how the package is organized, as well as a change in how functions are called. S3 methods were also implemented.
In version 0.3.0 the documentation was better developed and informative error messages were added.
In version 0.2.1 an error in the documentation was fixed, and some code in pps was edited to make the output more consistent.
In version 0.2.0 a compatibility issue with the latest R was fixed.
In version 0.1.1 an issue was fixed that disallowed generic function parameters.