[go: up one dir, main page]

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

showInTriangle #15

Open
thoree opened this issue Jul 7, 2022 · 0 comments
Open

showInTriangle #15

thoree opened this issue Jul 7, 2022 · 0 comments

Comments

@thoree
Copy link
thoree commented Jul 7, 2022

When I run the below commands from Lecture4, Norbis 2022, I get two extra points, one for the mean,
and one for the standard deviation.
I understand why when I read the documentation of showInTriangle ("an attempt is made to bind the elements row-wise"),
but perhaps it should be easier to avoid this error?!
With the current code, the last line below should be
showInTriangle(k$perSimulation)

library(ibdsim2, quietly = T)
x = nuclearPed(2)
s = ibdsim(x, N = 2, seed = 1729, verbose = F)
k = realisedKappa(s, ids = c(3, 4))
ribd::showInTriangle(k)

Created on 2022-07-07 by the reprex package (v2.0.1)

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

1 participant