calc_dists: Calculate distance b/w cont table row and pums

Description Usage Arguments

View source: R/ipf.R

Description

Calculate distance b/w cont table row and pums

Usage

1
calc_dists(pums, table_row, alpha, k, marginals)

Arguments

pums

dataframe with marginal columns

table_row

row of table to calculate distance

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


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