Thanks for the suggestion, Ivan.
The issue has been overcome with a simple change of the code to the form
(is.null(A) || any(is.na(A))
following advice from Peter Dalgard.
However, I have kept a note of the R Inferno reference, for future problems.
Best wishes,
Adelchi
> On 9 Apr 2024, at 1
> On 9 Apr 2024, at 14:54, peter dalgaard wrote:
>
> Hi, Adelchi,
>
> Depends on what you want help with...
>
> The proximate cause would seem to be that the code ought to have "is.null(A)
> || any(is.NA(A))", which I presume you could fairly easily fix for yourself
> in the package sourc
Hi, Adelchi,
Depends on what you want help with...
The proximate cause would seem to be that the code ought to have "is.null(A) ||
any(is.NA(A))", which I presume you could fairly easily fix for yourself in the
package sources or even locally in an R session. Vector-valued logicals in flow
co
В Tue, 9 Apr 2024 12:04:26 +0200
Adelchi Azzalini пишет:
> res <- CEoptim(sumsqrs, f.arg = list(xt), continuous = list(mean =
> c(0, 0, 0), sd = rep(1,3), conMat = A, conVec = b), discrete =
> list(categories = c(298L, 298L), smoothProb = 0.5),N = 1, rho
> = 0.001)
>
> Error in is.nu
4 matches
Mail list logo