gt;>> if (NA == 1) 1
>> Error in if (NA == 1) 1 : missing value where TRUE/FALSE needed
>>
>> Check your script and see why it is NA. you might need:
>>
>> max(tt[2] - 10 * tol, nineq, na.rm=TRUE)
>>
>> If your data has NAs.
>>
>> On S
et the same error:
>
>> if (1==1)1
> [1] 1
>> if (NA == 1) 1
> Error in if (NA == 1) 1 : missing value where TRUE/FALSE needed
>
> Check your script and see why it is NA. you might need:
>
> max(tt[2] - 10 * tol, nineq, na.rm=TRUE)
>
> If your data has NAs.
&g
Hi
I am relatively new to R and was trying to run an optimization problem using
rsolnp. I am getting an error which seems to be not related to my construct
of the optimization equations.
Error in if (max(tt[2] - 10 * tol, nineq) <= 0) rho = 0 :
missing value where TRUE/FALSE needed
I have
3 matches
Mail list logo