philmikejones / rakeR

Tools for easy spatial microsimulation (raking) in R
http://philmikejones.github.io/rakeR/
11 stars 1 forks source link

prevent extract() working with numeric variables #49

Closed philmikejones closed 7 years ago

philmikejones commented 7 years ago

extract creates a variable for each unique level of each variable in in the input individual-level data set (inds). If one of these variables is numeric it will almost certainly have a huge number of unique levels, especially for double().

Add a test to extract() so that it won't continue and output if it finds any numeric variables in the inds data set.

philmikejones commented 7 years ago

Closed in https://github.com/philmikejones/rakeR/pull/50