prnsamplr

The goal of prnsamplr is to coordinate survey samples with the help of permanent random numbers.

Installation

You can install the released version of prnsamplr from CRAN with:

install.packages("prnsamplr")

Example

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")

News

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.