sample_with_cont: Sample from pums

Description Usage Arguments Value

View source: R/ipf.R

Description

Sample from pums

Usage

1
sample_with_cont(pums, table, alpha, k, marginals)

Arguments

pums

dataframe with marginal columns

table

dataframe with marginal combinations and frequencies

alpha

number between 0 and 1, weight of categorical variables

k

number between 0 and 1, weight of orginal variables

marginals

list with marginal data

Value

indices of sampled households


leerichardson/spew documentation built on May 21, 2019, 1:39 a.m.