Makes a nice plot.
1 2 | sib_result_plot(SS, post, false_positive, lscale = 0.01, correct,
add = FALSE)
|
SS |
vector of sibsizes |
post |
vector of posteriors associated with each sibship (between 0 and 1) |
false_positive |
A logical vector indicating whether the sibship included any non-sibs |
lscale |
how big should the lengths be on the y-scale. i.e. one sibling = lscale |
correct |
logical vector saying whether each inferred sibship is correct or not |
add |
TRUE means add to existing plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.