R/mat.prod.R

Defines functions mat.prod

Documented in mat.prod

mat.prod <-
function(A,B){
	matrices <- matrix(0, ncol=ncol(A), nrow=nrow(A))
    for (i in 1:ncol(A)) {
        matrices[,i] <- A[,i]*B
    }
    return(matrices)
}

Try the geesmv package in your browser

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

geesmv documentation built on May 2, 2019, 9:40 a.m.