R/f.b.asymp.R

Defines functions f.b.asymp

f.b.asymp <- function(data, p, ncells, norig, orig, info){
	## Set up ambiguity matrix
	## Then multiply with p and standardize
	.a <- f.a.asymp(data, ncells = ncells, norig = norig, orig = orig, info = info)
	.ap <- .a*p
	.b <- t(t(.ap)/colSums(.ap))
	return(.b)
}

Try the Haplin package in your browser

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

Haplin documentation built on May 20, 2022, 5:07 p.m.