Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saving standard errors of variance components and heritability #17

Closed
Siavash-cloud opened this issue Oct 5, 2022 · 2 comments
Closed

Comments

@Siavash-cloud
Copy link

Hello,
I know that your package report standard errors of variance components and heritability in log or console of R studio.
So, I wonder how can I get or save standard errors of variance components and heritability as an output for example in a data frame or a table?

Regards,
Siavash

@YinLiLin
Copy link
Owner

YinLiLin commented Oct 6, 2022

Hi Siavash,

Thank you for using hibayes.
The latest version on both CRAN and GitHub has returned the sampled values for all unknown parameters, it can be accessed from the list $MCMCsamples, the standard deviation of all estimated unknown parameters ('p') can be obtained by the function apply(fit$MCMCsamples$p, 1, sd).

Best,
Lilin

@Siavash-cloud
Copy link
Author

Siavash-cloud commented Oct 9, 2022

Thanks! it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants