Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

factor: NA values in lookup table #99

Open
reinholdsson opened this issue Aug 7, 2014 · 0 comments
Open

factor: NA values in lookup table #99

reinholdsson opened this issue Aug 7, 2014 · 0 comments

Comments

@reinholdsson
Copy link
Contributor

factor variables containing NA are always returned with the NA value within the factor levels, which is sometimes a bit confusing to use, for example, see: http://stackoverflow.com/questions/9021364/subset-a-factor-by-na-levels.

We could change this, so that they are only returned as a factor level when they are clearly stated in the lookup table, e.g. 0 => NA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant