Skip to content
Prev 31876 / 398506 Next

error in qr(x)

df1 <- data.frame(x=c(1:3, NA), y=rnorm(4))
rlm(y~x, data=df1[!is.na(df1$x),])

hth.  spencer graves
Martin Wegmann wrote:
> Hello,
 > how do I remove Na's in R? Or did you mean to remove them before I 
load them
 > into R? But I can't remove them totally because it is a series, I can
 > interpolate them (command?)
 >
 > cheers, Martin.
 >
Spencer Graves wrote: