View source: R/helper_functions.r
df.to.kpvec | R Documentation |
df.to.kpvec
takes a dataframe which has a column with
known population names, and a column with known population
totals, and turns it into a known population vector. if the
names of the survey variables corresponding to each known population
are available, they can be passed in as well
df.to.kpvec(kp.data, kp.var, kp.value)
kp.data |
the known population dataset |
kp.var |
the column of |
kp.value |
the column of |
a vector whose entries have the known population values and whose
names have the corresponding kp.var
value
add.kp
## Not run:
## see example in add.kp
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.