Open Spatial-R opened 4 years ago
Good idea, will try to add this functionality for the next release.
Hello, is the predict function in the package now?
Sorry, not implemented yet. Unfortunately I do not have time atm to do this.
I would suggest transitioning to state-of-the-art tools for Bayesian glm analyses such as brms or rstanarm (predict should be implemented in these methods).
Dear. Thanks again for your nice work on the genphen package.
I wonder whether there is a function we can use to predict the phenotype based on the genotype?
I know that the posterior distribution was stored when running the runGenphen function. If there is a predict function, such as predict function in the linear regression model (lm), it is more convenient for the users to do further analysis.