Re: [R] Using plyr and segmented together - output problem

2010-05-12 Thread Hadley Wickham
Hi Ken, Could you please provide a small reproducible example? There are some hints on how to do so at http://gist.github.com/270442. Hadley On Wed, May 12, 2010 at 11:22 AM, Ken Minns wrote: > I am using the package segmented to fit a simple breakpoint regression to a > large number of sets

[R] Using plyr and segmented together - output problem

2010-05-12 Thread Ken Minns
I am using the package segmented to fit a simple breakpoint regression to a large number of sets of x,y data. I have used ddply in the package plyr to allow me to run many data sets and gather the results into a data.frame. When I run it I get 3 rows inserted in the output data.frame for each s