On Tue, May 14, 2013 at 10:05 AM, Michelle Morters
<mm...@hermes.cam.ac.uk>wrote:

> Hi -
>
> I would like the plot ordered by intercept.
>

One way will be to tweak the ?intervals.lmList object

require(nlme)
fm1 <- intervals(lmList(distance ~ age | Subject, Orthodont))
fm2 <- fm1[order(fm1[,2,1]),,]
class(fm2) <- class(fm1)
plot(fm2)

 Next time please, *you* provide the reproducible example...



> Ordering is doable if the intervals function is substituted with the
> confint function and order=1 included. Is ordering doable with intervals
> function, please?
>
> Thanks!
>
> M
>
> results<-lmList(x~slope|id,data)
>
> plot(intervals(results))
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to