-
Notifications
You must be signed in to change notification settings - Fork 1
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
Creating an example of BayesSurvive(MRF.G = FALSE)
#13
Comments
There is one example in README similar to your case, i.e. "Run a 'Pooled' Bayesian Cox model with graphical learning". There, I specified I know this is a bit confusing, since I wanted to include quite many methods together via the combinations of 2 arguments i.e.
Probably we need a better idea to re-structure the combinations of arguments for many methods. As I mentioned, we also wanted to include another method implemented in the R package |
I have just checked and thought a bit carefully. Sorry for the confusing structures! |
Thanks for the clarification! Looks to me like there's no need to modify the code for this, but I wanna get those examples from the README and turn them into unit tests to keep me on track while I work on #11. Sounds good? |
Good!
13. juni 2024 kl. 06:17 skrev Waldir Leoncio ***@***.***>:
Thanks for the clarification! Looks to me like there's no need to modify the code for this, but I wanna get those examples from the README and turn them into unit tests to keep me on track while I work on #11<#11>. Sounds good?
—
Reply to this email directly, view it on GitHub<#13 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJOLJRZQW5PK5BOJJOK4WRTZHEMMJAVCNFSM6AAAAABJGDOKIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRUGMZTGNJYGA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
BayesSurvive(MRF.G = TRUE)
BayesSurvive(MRF.G = FALSE)
85e59f1 says it solves the issue, but that's because I messed up and thought I needed |
This is necessary for `func_MCMC_graph()` to be called and work on #11 to continue.
For #11, I am trying to create an example that triggers
func_MCMC_graph()
. I've slightly adapted the example forBayesSurvive()
as follows:This creates an "operator invalid for atomic vectors" error on https://github.com/ocbe-uio/BayesSurvive/blob/7ee9d98aaaa5db2556a95c0bf2b53168f8f973bb/R/BayesSurvive.R#L143C1-L143C60 because
survObj
is, in this case, not a nested list.This should be straightforward to fix (e.g. by using
survObj$X
in this particular case), but perhaps this is not a bug and I am just using the wrong dataset. What would you suggest?The text was updated successfully, but these errors were encountered: