The R Project SVN R

Rev

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

Rev 56664 Rev 88840
Line 19... Line 19...
19
fit2 <- mle(minusLogL1, start = list(mu=0), fixed = list(logsigma2=0))
19
fit2 <- mle(minusLogL1, start = list(mu=0), fixed = list(logsigma2=0))
20
confint(fit2) # failed
20
confint(fit2) # failed
21
 
21
 
22
fit3 <- mle(minusLogL2, start = list(mu=0))
22
fit3 <- mle(minusLogL2, start = list(mu=0))
23
confint(fit3) # same
23
confint(fit3) # same
-
 
24
 
-
 
25
 
-
 
26
## stats::confint.default() now uses the stats4 generics for S4-classed input:
-
 
27
confint.default(fit) # failed in R < 4.6.0 with:
-
 
28
## Error in object$coefficients : $ operator not defined for this S4 class