sib_result_plot: plot posterior bars and compare to correct or incorrect

Description Usage Arguments

Description

Makes a nice plot.

Usage

1
2
sib_result_plot(SS, post, false_positive, lscale = 0.01, correct,
  add = FALSE)

Arguments

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


eriqande/fullsniplings documentation built on May 16, 2019, 8:45 a.m.