coef.rsfa: Coefficients Method for Class 'rsfa'

View source: R/robustSFM.R

coef.rsfaR Documentation

Coefficients Method for Class rsfa

Description

This function extracts the estimates from the object of class rsfa.

Usage

## S3 method for class 'rsfa'
coef(object, ...)

Arguments

object

An object of class rsfa.

...

Unused.

Value

A named vector of MDPD estimates.

Examples

## Example using the 'riceProdPhil' dataset from the `frontier` package
library(frontier)
data(riceProdPhil)

my.model <- log(PROD) ~ log(AREA) + log(LABOR) + log(NPK) + log(OTHER)
fit.ml <- rsfa(my.model, data = riceProdPhil)
coef(fit.ml)
fit.mdpde<- rsfa(my.model, data = riceProdPhil, alpha = 0.1)
coef(fit.mdpde)

robustSFA documentation built on April 3, 2025, 6:12 p.m.