phsc.get.prior.parameter.n0: Calculate prior parameter n0

View source: R/phyloscan.fun.private.R

phsc.get.prior.parameter.n0R Documentation

Calculate prior parameter n0

Description

This function calculates the prior parameter n0 such that the minimum number of windows needed is at least n.obs in order to select a pair of individuals with confidence at least confidence.cut.

Usage

phsc.get.prior.parameter.n0(
  n.states,
  keff = 2,
  neff = 3,
  confidence.cut = 0.66
)

Arguments

n.states

Number of relationship states.

confidence.cut

Confidence cut off.

n.obs

Minimum number of windows to select a pair of individuals with confidence at least confidence.cut.

Value

Prior parameter n0


olli0601/Phyloscanner.R.utilities documentation built on April 16, 2024, 5:44 a.m.