search for: facval

Displaying 2 results from an estimated 2 matches for "facval".

Did you mean: facial
2007 Jan 28
1
plot.lm (PR#9474)
...Version: 2.4.1 OS: Windows XP Submission from: (NULL) (69.245.71.40) In the constant leverage case, plot #5 is not correctly produced. The labels on the x-axis are sorted correctly by magnitude of the fitted value, but the data are plotted in the original factor order. I changed facval[ord] <- facval xx <- facval plot(facval, rs, xlim = c(-1/2, sum((nlev - 1) * to # facval[ord] <- facval xx <- facval[ord] plot(xx, rs, xlim = c(-1/2, sum((nlev - 1) * in the "if (isConst.hat)" se...
2009 Aug 21
1
problem with plot.lm?
...ing this issue to r-devel as my idea of sending it to r-help appears to be wrong. The following is reproducible in R-patched and R-devel (also in older versions). An outlier is inserted in group E and the last plot by plot.lm suggests that the point belongs to D. It appears to me that: * (facval, rsp) and * x$xlevels[[1L]][order(sapply(split(yh,mf[,1]), mean))] are sorted differently. set.seed(2) a <- rnorm(50,0,2) x <- rep(seq(10, 50, by=10), each=10) y <- x+a f <- rep(c("e","a","c","b","d"), rep(10,5)) f <- as.factor(f) y...