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 Jan. 5, 2024, 3:01 a.m.