R/cosfun.R

Defines functions cosfun

Documented in cosfun

cosfun <- function(Z,R) {
1-(sum(Z * R)/(sum(Z^2) * sum(R^2))^0.5)
}

Try the polrep package in your browser

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

polrep documentation built on Feb. 24, 2018, 3:01 a.m.