i have a function like
1+sin(a+bx) where -pi/2<=a+bx<=pi/2
i made a progrom using constrOptim() function but it is not giving good
result. it depends on the initial value. but when i am doing simulation it
is impossible of find the best initial value for every step. also i am not
exactly sure how to input the restriction though i have read the help file
of the function. here x is a set of values. would u please send me some
instruction to find the best result from the obtimization.
Kanak Choudhury
sutdent of Jahangirnagar university
Bangladesh
mail: [EMAIL PROTECTED]
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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, minimal, self-contained, reproducible code.