Re: [R] Help Coding error

2025-03-29 Thread Behaylu Ayalew
gt; "0" (ie. Passing a character representation of a number) > > On Sat, 29 Mar 2025, 09:04 Behaylu Ayalew, wrote: > >> How are you dear Helper? >> I am from Africa, Ethiopia , I have faced this type of problem >> >> Error in optim(seq(-3, 3, length.out = k),

[R] Help Coding error

2025-03-29 Thread Behaylu Ayalew
ha$wt> rr = RM.w(XX, wt) library(psychomix)> rr.country1 = RM.w(XX, wt1) Error in optim(seq(-3, 3, length.out = k), wle.fit, method = "BFGS", control = list(maxit = max.it)) : initial value in 'vmmin' is not finite when I want to run RM.w Thank you in adva