Re: [Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-13 Thread Martin Maechler
> Rui Barradas > on Wed, 12 Apr 2017 17:07:45 +0100 writes: > Hello, Inline. > Em 12-04-2017 16:40, Henric Winell escreveu: >> (Let's keep the discussion on-list -- I've added back >> R-devel.) >> >> On 2017-04-12 16:39, Ulrich Windl wrote: >> > Henr

Re: [Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-12 Thread Rui Barradas
Hello, Inline. Em 12-04-2017 16:40, Henric Winell escreveu: (Let's keep the discussion on-list -- I've added back R-devel.) On 2017-04-12 16:39, Ulrich Windl wrote: Henric Winell schrieb am 12.04.2017 um 15:35 in Nachricht : On 2017-04-12 14:40, Ulrich Windl wrote: The last line of the

Re: [Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-12 Thread Henric Winell
(Let's keep the discussion on-list -- I've added back R-devel.) On 2017-04-12 16:39, Ulrich Windl wrote: Henric Winell schrieb am 12.04.2017 um 15:35 in Nachricht : On 2017-04-12 14:40, Ulrich Windl wrote: The last line of the example in droplevels' manual page seems to be incorrect to me.

Re: [Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-12 Thread Henric Winell
On 2017-04-12 14:40, Ulrich Windl wrote: The last line of the example in droplevels' manual page seems to be incorrect to me. I think it should read: "table(droplevels(aq$Month))". Amazingly (I don't understand) both variants seem to produce the same result (R 3.3.3): --- The manual says that

[Rd] "table(droplevels(aq)$Month)" in manual page of droplevels

2017-04-12 Thread Ulrich Windl
The last line of the example in droplevels' manual page seems to be incorrect to me. I think it should read: "table(droplevels(aq$Month))". Amazingly (I don't understand) both variants seem to produce the same result (R 3.3.3): --- > aq <- transform(airquality, Month = factor(Month, labels = mont