From jeff at kanecap.com  Thu Jun  8 23:29:57 2006
From: jeff at kanecap.com (Jeff Enos)
Date: Thu, 8 Jun 2006 17:29:57 -0400
Subject: [Rd] NAs in unsplit factor
Message-ID: <17544.38613.777136.185868@gargle.gargle.HOWL>

R-devel,

Below is a simple example calling split and unsplit on a numeric
vector of length 2 where 'f' is c(1,NA).

> unsplit(split(c(1,2), c(1,NA)), c(1,NA))
[1] 1 0

I noticed that the call to vector in unsplit gives us 0 as the 2nd
element of the result.

Is this the intended result, as opposed to NA?

Thanks for your help,

Jeff

-- 
Jeff Enos
Kane Capital Management
jeff at kanecap.com



[Rd] NAs in unsplit factor
Jeff Enos