check_ind.Rd
Deprecated: these checks are now automatically carried out by weight() and/or extract()/integerise()
check_ind(ind_var)
ind_var | the individual (survey) variable you want to check |
---|
If no errors are detected the function returns silently. Any errors will stop the function or script to be investigated.
Checks an individual (survey) variable for the following common errors:
That each row sums to 1 (i.e. correctly converted to a dummy variable)
## Not run ## checks are now automatically carried out by weight() and/or ## extract()/integerise()