[R] solving equations with several variables

Spencer Graves spencer.graves at pdf.com
Thu Feb 19 22:04:39 CET 2004


"optim"? 

Josh Schmidt wrote:

>I am relatively new to R, but I would like to use it find the values of b1 and 
>b2 that maximize the following equation:
>
>(sum(cos(x3+2.33474-2(atan(b1*x1+b2*x2)))))
>
>Any help would be greatly appreciated.
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>  
>




More information about the R-help mailing list