Re: [R] Fitting a Triangular Distribution to Bivariate Data

2010-12-23 Thread David L Lorenz
/23/2010 07:53 AM Subject: Re: [R] Fitting a Triangular Distribution to Bivariate Data Sent by: r-help-boun...@r-project.org On 2010-12-23 2:19, David Bapst wrote: > Hello, > I have some xy data which clearly shows a non-monotonic, peaked > triangular trend. You can get an idea of what

Re: [R] Fitting a Triangular Distribution to Bivariate Data

2010-12-23 Thread Jinsong Zhao
On 2010-12-23 2:19, David Bapst wrote: Hello, I have some xy data which clearly shows a non-monotonic, peaked triangular trend. You can get an idea of what it looks like with: x<-1:20 y<-c(2*x[1:10]+1,-2*x[11:20]+42) I've tried fitting a quadratic, but it just doesn't the data-structure with th

Re: [R] Fitting a Triangular Distribution to Bivariate Data

2010-12-23 Thread Jonathan P Daily
ubal Early, Firefly r-help-boun...@r-project.org wrote on 12/22/2010 01:19:16 PM: > [image removed] > > [R] Fitting a Triangular Distribution to Bivariate Data > > David Bapst > > to: > > r-help > > 12/22/2010 04:04 PM > > Sent by: > > r-help-

[R] Fitting a Triangular Distribution to Bivariate Data

2010-12-22 Thread David Bapst
Hello, I have some xy data which clearly shows a non-monotonic, peaked triangular trend. You can get an idea of what it looks like with: x<-1:20 y<-c(2*x[1:10]+1,-2*x[11:20]+42) I've tried fitting a quadratic, but it just doesn't the data-structure with the break point adequately. Is there anyway