n******9 发帖数: 26 | 1 When I use a R program to analyse my data( the program is written by the phd
students in our group. I don't know much R, but just use the program to
analyse), I had the error " Error in svd(X) : infinite or missing values in
'x'" for some datasets.
The program did work for some datasest. And I am sure there are no missing
values in all the datasets. Could some one give me a clue about what might
cause the errors?
Thank you | l*********s 发帖数: 5409 | | n******9 发帖数: 26 | 3 When I changed the code
betahat = optim(betaI, QuadForm)$par;
to
betahat = optim(betaI, QuadForm, method = "BFGS")$par;
I have no idea why this could happen. :( | l*****k 发帖数: 587 | 4 check the code for X feed to svd, your datasets may contain NA after
manipulation
phd
in
【在 n******9 的大作中提到】 : When I use a R program to analyse my data( the program is written by the phd : students in our group. I don't know much R, but just use the program to : analyse), I had the error " Error in svd(X) : infinite or missing values in : 'x'" for some datasets. : The program did work for some datasest. And I am sure there are no missing : values in all the datasets. Could some one give me a clue about what might : cause the errors? : Thank you
|
|