R/alp.index.lo.R

Defines functions alp.index.lo

# return index of alp, log OR of all variables, including intercept (if any)
alp.index.lo <- function(map, i){
  
  # a logistic regression model, all coef given (inc intercept), no alp for this model
  if(any(is.na(map$alp[[i]]))){
    return(NULL)
  }
  
  map$alp[[i]]
  
}
zhangh12/gim documentation built on Sept. 5, 2021, 6:39 p.m.