Re: [R] Question concerning side effects of treating invalid factor levels

2022-09-20 Thread Tibor Kiss via R-help
,"New Level") > levels(f1) <- c(levels(f1),c("NL1","NL2")) > > > Tim > -Original Message- > From: R-help On Behalf Of Tibor Kiss via R-help > Sent: Monday, September 19, 2022 6:11 AM > To: r-help@r-project.org > Subject: [R] Question

Re: [R] Question concerning side effects of treating invalid factor levels

2022-09-20 Thread Tibor Kiss via R-help
will see that everything is fine. (New factor values are created.) > > HTH, > Eric > > On Mon, Sep 19, 2022 at 2:14 PM Tibor Kiss via R-help > wrote: >> >> Dear List members, >> >> I have tried now for several times to find out about a side effect of >

[R] Question concerning side effects of treating invalid factor levels

2022-09-19 Thread Tibor Kiss via R-help
Dear List members, I have tried now for several times to find out about a side effect of treating invalid factor levels, but did not find an answer. Various answers on stackexchange etc. produce the stuff that irritates me without even mentioning it. So I am asking the list (apologies if this