R/coef.R

Defines functions coef.summary.selection coef.oglmx.selection coef.summary.oglmx coef.oglmx

#' @export
coef.oglmx<-function(object, ...){
  attr(object$coefficients,"coefftypes")<-NULL
  return(object$coefficients)
}

#' @export
coef.summary.oglmx<-function(object, ...){
  attr(object$coefficients,"coefftypes")<-NULL
  return(object$coefficients)
}

#' @export
coef.oglmx.selection<-function(object, ...){
  return(object$estimate)
}

#' @export
coef.summary.selection<-function(object, ...){
  return(object$estimate)
}
linogaliana/oglm documentation built on March 5, 2021, 8:27 p.m.