Skip to content
Prev 389280 / 398506 Next

how to remove factors from whole dataframe?

I am not trying to "get you"; but you need to do your homework before
posting. Factor implementation is fully explained in Section 2.3.1 of
the "R Language Definition." You can also search on "enumerated
types"(mentioned in the Help page),  a long established C construct,
for a fuller explanation. Which makes all of your following remarks
just a bit pointless, no?

"I made a series of factors of various kinds such as integer and
logical and character and they all are simply a class of "factor" as
they have an attribute of 'class' and a typeof() "integer"  as the
payload is now a series of small integers.  A dictionary of sorts is
kept in the attribute of 'levels' but that seems to always be of type
character as in: ... etc."

Cheers,
Bert

On Sun, Sep 19, 2021 at 5:48 PM Avi Gross via R-help
<r-help at r-project.org> wrote: