The R Project SVN R

Rev

Rev 81944 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 81944 Rev 83708
Line 85... Line 85...
85
Asym   192.69     20.244  9.5182 7.4824e-11
85
Asym   192.69     20.244  9.5182 7.4824e-11
86
xmid   728.76    107.299  6.7919 1.1202e-07
86
xmid   728.76    107.299  6.7919 1.1202e-07
87
scal   353.53     81.472  4.3393 1.3382e-04
87
scal   353.53     81.472  4.3393 1.3382e-04
88
> ## IGNORE_RDIFF_END
88
> ## IGNORE_RDIFF_END
89
> 
89
> 
-
 
90
> ## getInitial.formula() gets selfStart function from environment(formula)
-
 
91
> plogis <- stats::SSlogis
-
 
92
> in2 <- getInitial(circumference ~ plogis(age, Asym, xmid, scal), Orange)
-
 
93
> ## in R <= 4.2.x gave Error:
-
 
94
> ##   no 'getInitial' method found for "function" objects
-
 
95
> rm(plogis)
-
 
96
> 
90
> 
97
> 
91
> ## lower and upper in algorithm="port"
98
> ## lower and upper in algorithm="port"
92
> set.seed(123)
99
> set.seed(123)
93
> x <- runif(200)
100
> x <- runif(200)
94
> a <- b <- 1; c <- -0.1
101
> a <- b <- 1; c <- -0.1