search for: r67720

Displaying 2 results from an estimated 2 matches for "r67720".

Did you mean: 367720
2015 Feb 09
3
xtabs and NA
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 explicitly that it's not supported. From reading the code [2] it looks like the relevant call to table() doesn't set the "useNA" parameter, which I think is necessary to make NAs show up in the result. Am I missing anything? If this a bu...
2015 Feb 09
0
xtabs and NA
...8:52 AM, Kirill M?ller <kirill.mueller at ivt.baug.ethz.ch> 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 explicitly that it's not supported. From > reading the code [2] it looks like the relevant call to table() doesn't set > the "useNA" parameter, which I think is necessary to make NAs show up in the > result. > > Am I m...