:exclamation: This is a read-only mirror of the CRAN R package repository. grmsem — Genetic-Relationship-Matrix Structural Equation Modelling (GRMSEM). Homepage: https://CRAN.R-project.org/package=grmsem, https://gitlab.gwdg.de/beate.stpourcain/grmsem Report bugs for this package: https://gitlab.gwdg.de/beate.stpourcain/grmsem/-/issues
0
stars
0
forks
source link
Error in stats::optim(x, gsem.ll, method = "BFGS", control = list(fnscale = -1, : non-finite finite-difference value [10] #1
Hi, Recently, I have tried to use the package(""gsem","grmsem"), but i met a problem, can you please help me solve this? Thank you very much!!
Here is my code: test100grm <-read.table("test100.grm") View(test100grm) names(test100grm)=c("out1","out2","X1520602","out") test100ph <- as.matrix(read.table("test100ph.txt",header = T)) Gtest <- grm.input(test100grm) out <- gsem.fit(test100ph, Gtest, LogL = TRUE, estSE = TRUE)
And below is the error: Error in stats::optim(x, gsem.ll, method = "BFGS", control = list(fnscale = -1, : non-finite finite-difference value [10]