R/Pik.r

Defines functions Pik

Documented in Pik

#' @export

Pik <- function(p, Ind){
multip <- p*Ind
pik <- colSums(multip)
t(pik)
}

Try the TeachingSampling package in your browser

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

TeachingSampling documentation built on April 22, 2020, 1:05 a.m.