Skip to content

Error in nlminb(), NA/NaN gradient evaluation #23

@Sasimonthakan

Description

@Sasimonthakan

Hello,

I am following your instruction. However, I keep getting this error message:
Warning: NAs producedWarning: NA/NaN function evaluationError in nlminb(start = c(beta_init, sigma2_init), objective = function(par) { :
NA/NaN gradient evaluation
Since proDA() can handle missing values, why do I get this error? What should I do to solve this?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions