R/coef.summary.frontier.R

Defines functions coef.summary.frontier

Documented in coef.summary.frontier

coef.summary.frontier <- function( object, which = "mle", ... ) {

   if( tolower( which ) == "ols" ) {
      return( object$olsParam )
   } else if( tolower( which ) == "mle" ) {
      return( object$mleParam )
   } else {
      stop( "argument 'which' must be either 'ols' or 'mle'" )
   }
}

Try the frontier package in your browser

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

frontier documentation built on July 14, 2020, 3:01 a.m.