Displaying 4 results from an estimated 4 matches for "075224".
Did you mean:
072524
2023 Apr 25
2
xyTable(x,y) versus table(x,y) with NAs
Hi all,
Posted this many years ago (https://stat.ethz.ch/pipermail/r-devel/2017-December/075224.html), but either this slipped under the radar or my feeble mind is unable to understand what xyTable() is doing here and nobody bothered to correct me. I now stumbled again across this issue.
x <- c(1, 1, 2, 2, 2, 3)
y <- c(1, 2, 1, 3, NA, 3)
table(x, y, useNA="always")
xyTable(x...
2023 Apr 25
1
xyTable(x,y) versus table(x,y) with NAs
...ld xyTable have a way to handle NAs the way table() does?
-Bill
On Tue, Apr 25, 2023 at 1:26?AM Viechtbauer, Wolfgang (NP) <
wolfgang.viechtbauer at maastrichtuniversity.nl> wrote:
> Hi all,
>
> Posted this many years ago (
> https://stat.ethz.ch/pipermail/r-devel/2017-December/075224.html), but
> either this slipped under the radar or my feeble mind is unable to
> understand what xyTable() is doing here and nobody bothered to correct me.
> I now stumbled again across this issue.
>
> x <- c(1, 1, 2, 2, 2, 3)
> y <- c(1, 2, 1, 3, NA, 3)
> table(x, y, u...
2023 Apr 25
1
xyTable(x,y) versus table(x,y) with NAs
Le 25/04/2023 ? 10:24, Viechtbauer, Wolfgang (NP) a ?crit?:
> Hi all,
>
> Posted this many years ago (https://stat.ethz.ch/pipermail/r-devel/2017-December/075224.html), but either this slipped under the radar or my feeble mind is unable to understand what xyTable() is doing here and nobody bothered to correct me. I now stumbled again across this issue.
>
> x <- c(1, 1, 2, 2, 2, 3)
> y <- c(1, 2, 1, 3, NA, 3)
> table(x, y, useNA="alwa...
2023 Apr 25
1
xyTable(x,y) versus table(x,y) with NAs
...ALSE
should read
first[is.na(first)] <- FALSE
Serguei.
Le 25/04/2023 ? 11:30, Serguei Sokol a ?crit?:
> Le 25/04/2023 ? 10:24, Viechtbauer, Wolfgang (NP) a ?crit?:
>> Hi all,
>>
>> Posted this many years ago
>> (https://stat.ethz.ch/pipermail/r-devel/2017-December/075224.html),
>> but either this slipped under the radar or my feeble mind is unable
>> to understand what xyTable() is doing here and nobody bothered to
>> correct me. I now stumbled again across this issue.
>>
>> x <- c(1, 1, 2, 2,? 2, 3)
>> y <- c(1, 2, 1, 3...