Re: [R] how to fit a curve of form Y = X^Z

2008-06-17 Thread Moshe Olshansky
]> > Subject: [R] how to fit a curve of form Y = X^Z > To: "R mailing list" > Received: Wednesday, 18 June, 2008, 12:16 AM > Hello, > > I have a question about R, and will be very grateful for > any help. > I have two variables X and Y, and think that Y is r

Re: [R] how to fit a curve of form Y = X^Z

2008-06-17 Thread Philipp Pagel
> I have two variables X and Y, and think that Y is related > to X by a function of the form : Y = X^Z, where Z is < 1. > However, I'm not sure how to find the best-fit equation to > fit my data to a curve of this form using R. Have you any ideas? You can use nlm() to fit a non-linear model. An

[R] how to fit a curve of form Y = X^Z

2008-06-17 Thread Avril Coghlan
Hello, I have a question about R, and will be very grateful for any help. I have two variables X and Y, and think that Y is related to X by a function of the form : Y = X^Z, where Z is < 1. However, I'm not sure how to find the best-fit equation to fit my data to a curve of this form using R. Hav