Le lundi 09 février 2015 à 14:52 +0100, Kirill Müller a écrit :
> Hi
>
>
> I haven't found a way to produce a tabulation from factor data with NA
> values using xtabs. Please find a minimal example below, it's also on
> R-pubs [1]. Tested with R 3.1.2 and R-devel r67720.
>
> It doesn't seem to
On 09.02.2015 16:59, Gabor Grothendieck wrote:
On Mon, Feb 9, 2015 at 8:52 AM, Kirill Müller
wrote:
Passing table the output of model.frame would still allow the use of a
formula interface:
mf <- model.frame( ~ data, na.action = na.pass)
do.call("table", c(mf, useNA = "ifany"))
ab
On Mon, Feb 9, 2015 at 8:52 AM, Kirill Müller
wrote:
> Hi
>
>
> I haven't found a way to produce a tabulation from factor data with NA
> values using xtabs. Please find a minimal example below, it's also on R-pubs
> [1]. Tested with R 3.1.2 and R-devel r67720.
>
> It doesn't seem to be documented