Re: [R] Solver in R

2010-09-11 Thread Carl Witthoft
Use BBsolve in the BB package. It'll do darn near anything. Carl __ 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,

Re: [R] Solver in R

2010-09-11 Thread Berend Hasselman
You can also have a look at and try package nleqslv. Berend -- View this message in context: http://r.789695.n4.nabble.com/Solver-in-R-tp2535115p2535813.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing

Re: [R] Solver in R

2010-09-11 Thread Berend Hasselman
Another idea. From your formulation it seems that r does not depend on t and Xt so you wouldn't need a solver. You could solve for r explicitly so r - R0/sum(Xt) /Berend -- View this message in context: http://r.789695.n4.nabble.com/Solver-in-R-tp2535115p2535815.html Sent from the R help

[R] Solver in R

2010-09-10 Thread Chien-Pang Chin
Hi all: I'm looking for a package that similar to solver in MS. All I need is find a r to satisfy R0=sum( r * Xt ), where t are from 1 to n and Xt are come from another formula. The most package I found were to max or min the obj. function. Is there any package can do it? Thanks.

Re: [R] Solver in R

2010-09-10 Thread David Winsemius
On Sep 10, 2010, at 5:35 PM, Chien-Pang Chin wrote: Hi all: I'm looking for a package that similar to solver in MS. All I need is find a r to satisfy R0=sum( , where t are from 1 to n and Xt are come from another formula. The most package I found were to max or min the obj. function. Is

Re: [R] Solver in R

2010-09-10 Thread David Winsemius
On Sep 10, 2010, at 5:44 PM, David Winsemius wrote: On Sep 10, 2010, at 5:35 PM, Chien-Pang Chin wrote: Hi all: I'm looking for a package that similar to solver in MS. All I need is find a r to satisfy R0=sum( , where t are from 1 to n and Xt are come from another formula. The most

[R] solver in R

2008-03-31 Thread Roslina Zakaria
Dear R-users, Is there any function in R that works similarly like solver in Excel. I have a set of daily rainfall data and I would like to estimate alpha and beta for the gamma function. Here is my daily rainfall data: [1] 0.2 1.2 0.0 0.0 0.0 0.0 0.0 0.6 0.0 0.0 0.0 0.0 0.0 0.0

Re: [R] solver in R

2008-03-31 Thread Richard Rowe
library(MASS) check out fitdistr( ) ... ?fitdistr This isn't 'solver', but then again R isn't MS Excel! Roslina Zakaria wrote: Dear R-users, Is there any function in R that works similarly like solver in Excel. I have a set of daily rainfall data and I would like to estimate alpha and beta