R/compressedProbabilities.R

Defines functions compressedProbabilities

compressedProbabilities <- function(nFounders, r, nFunnels, intercrossingGenerations, selfingGenerations, infiniteSelfing)
{
	if(!(nFounders %in% c(2, 4, 8, 16))) stop("Input nFounders must be one of 2, 4, 8, or 16")
	.Call("compressedProbabilities", nFounders, r, nFunnels, intercrossingGenerations, selfingGenerations, infiniteSelfing, PACKAGE="mpMap2")
}

Try the mpMap2 package in your browser

Any scripts or data that you put into this service are public.

mpMap2 documentation built on Sept. 13, 2020, 5:17 p.m.