Displaying 1 result from an estimated 1 matches for "llexcl".
Did you mean:
excl
2012 Dec 13
0
Suggestion of change to reduce overhead of 'table'
...input that is already a factor when it is known that the resulting levels is as in the input. This is diff against https://svn.r-project.org/R/trunk/src/library/base/R/table.R.
85c85,88
<? ? ? ? ? ? ? ? ? ? ? ???a <- factor(a, levels = ll[!(ll %in% exclude)],
---
>? ? ? ? ? ? ? ? ? ? ? ???llexcl <- ll %in% exclude
>? ? ? ? ? ? ? ? ? ? ? ???if (any(llexcl) ||
>? ? ? ? ? ? ? ? ? ? ? ???(useNA == "no" && any(is.na(ll))))
>? ? ? ? ? ? ? ? ? ? ? ? ? ???factor(a, levels = ll[!llexcl],
86a90,91
>? ? ? ? ? ? ? ? ? ? ? ???else
>? ? ? ? ? ? ? ? ? ? ? ? ? ???a
Fu...