Skip to content
Prev 5922 / 15274 Next

Combine two incomplete zoo object (with NAs) in one zoo series

Pierre,

?ifelse says:
"Value:

     A vector of the same length and attributes (including class) as
     ?test? and data values from the values of ?yes? or
     ?no?."

...so it won't return a zoo object.

Try this instead:
1992-01-10 1992-01-17 1992-01-24 1992-01-31 1992-02-07
        11         12         13         14         15
1992-02-14 1992-02-21 1992-02-28 1992-03-06 1992-03-13
        16         17          8          9         10

HTH,
--
Joshua Ulrich
FOSS Trading: www.fosstrading.com
On Thu, Apr 1, 2010 at 8:12 AM, Pierre Lapointe <pierrelap at gmail.com> wrote: