R/gfunction.the.xi.cc.R

Defines functions gfunction.the.xi.cc

gfunction.the.xi.cc <- function(g.the, xi){
  
  n <- nrow(g.the[[1]])
  nthe <- length(g.the)
  g.the.xi <- matrix(NA, nrow = n, ncol = nthe)
  k <- 0
  for(m in g.the){
    k <- k + 1
    #g.the.xi[, k] <- m[, -1, drop = FALSE] %*% xi
    g.the.xi[, k] <- m %*% xi
  }
  
  g.the.xi
  
}

Try the gim package in your browser

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

gim documentation built on July 1, 2020, 6:29 p.m.