Displaying 2 results from an estimated 2 matches for "withna".
Did you mean:
witha
2000 Aug 23
0
2 Bugs in na.omit.default() (PR#641)
...nd since
-numeric(0) = numeric(0)
object[-omit] = numeric(0)
It looks like an earlier version of na.omit.default had 'omit' defined as
logical,
at least the last section
if (any(omit))
seems to expect omit as logical
which leads to
# BUG 2: wrong indication of dropped elements
> withna <- c(NA, 1:10, NA)
> unclass(na.omit(withna))
[1] 1 2 3 4 5 6 7 8 9 10
attr(,"na.action")
[1] 1 NA
attr(,"na.action")attr(,"class")
[1] "omit"
# suggested fix, experts PLEASE CROSS CHECK
na.omit.default <-
function (object)
{
if (!is...
2006 Dec 22
0
plot.mids / Error in plot.new() : figure margins too large
...uuren (2000)
> http://web.inter.nl.net/users/S.van.Buuren/mi/docs/Manual.pdf
> page 17, if there are many variables (~80) with NAs included?
> mice runs well, but the plot is not possible because it seems that there
> are too many variables.
>
> > imp.temp <- mice(data.withnas, m=5)
> > plot(imp.temp)
> Fehler in plot.new() : Grafikr?nder zu gro?
> = error in plot.new(): boundaries of graphics too big/huge
>
> Is it possible to run the plot() sequentially, so that only a selected
> part of the variables are plotted?
> Of course I can run m...