Displaying 1 result from an estimated 1 matches for "optimcall".
Did you mean:
optimal
2009 Jun 17
0
Curve fit a nonlinear equation with box constraints: success, many thanks!
...e observed data, and
c1, c2 and c3 are regression coefficients subject to the following
constraints:
0.0 <= c2 <= 1.0
0.0 <= c3 <= 1.0
I ran the following code as a script from the R Gui on a windows machine.
The command for this was: source("C:\\Users\\me\\R281\\work\\optimcall.R")
# **** Script file: optimcall.R ***********
# function definition
rss <- function(par) {
y <-
c(0.111111111111111,0.0921052631578947,0.0564516129032258,0.0608108108108108
,0.0128205128205128,0.0136078431372549)
x1 <-
c(0,0.978723404255319,0.087378640776699,0.5492957746...