R/coordnsc3.R

Defines functions coordnsc3

Documented in coordnsc3

coordnsc3<-function(res, x)
{
	x <- x/sum(x)	#       pi <- margI(x)
	pj <- margJ(x)
	pk <- margK(x)
	res$a <- res$a
	res$b <- diag(1/sqrt(pj)) %*% res$b
	res$cc <- diag(1/sqrt(pk)) %*% res$cc
	res
}

Try the CA3variants package in your browser

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

CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.