Displaying 3 results from an estimated 3 matches for "myfunction1".
Did you mean:
myfunction
2017 Jun 06
3
Force argument to have quotes
...in quotation marks around the argument which requires it as input, as found in the example function below, myFuncton1.
Below is a minimal, reproducible example of the issue with comments.
### This is a sample structure of the configuration file
scoreConfig <- structure(list(Function = c("myFunction1", "myFunction1", "myFunction1",
"myFunction2", "myFunction2"), Argument = c("arg1", "arg2", "arg3",
"arg1", "arg2"), Value = c("5", "10", "Hello", "5", "10&q...
2017 Jun 06
0
Force argument to have quotes
...he argument which requires it as input, as found in the example function below, myFuncton1.
>
> Below is a minimal, reproducible example of the issue with comments.
>
> ### This is a sample structure of the configuration file
>
> scoreConfig <- structure(list(Function = c("myFunction1", "myFunction1", "myFunction1",
> "myFunction2", "myFunction2"), Argument = c("arg1", "arg2", "arg3",
> "arg1", "arg2"), Value = c("5", "10", "Hello", "5", &q...
2008 Jul 25
0
nlminb--lower bound for parameters are dependent on each others
...until their parameters become very close to each other.
I have several parameters (say,param1, param2) and their constraints are
given as inequality and depend on each other. For example,
param1>=0, param1 + param2*c1>=0 (c1 is a known positive constant)
When I wrote my program as:
...
myfunction1 <-function(param ){..}
myfunction2 <-function(param ){..}
#param1=param[1]
#param2=param[2]
...
while (difference.Params>eps){
...
res1 <- nlminb(param.new2, myfunction1, lower = c(0, -c1/res1$par[1]),
upper = Inf)
param.new1<-res1$par
res2 <- nlminb(param.new1, myfunction...