coef.fuzzylm: Extract Model Coefficients from Fuzzy Linear Model

View source: R/coef.fuzzylm.R

coef.fuzzylmR Documentation

Extract Model Coefficients from Fuzzy Linear Model

Description

Extracts coefficients of the fuzzy regression model in object fuzzylm.

Usage

## S3 method for class 'fuzzylm'
coef(object, complete = TRUE, ...)

Arguments

object

a fuzzylm object.

complete

not used for a fuzzylm object.

...

other arguments.

Value

matrix with coefficients for the central tendency of the model, upper and lower boundary.

Note

The function returns real value numbers that define model predictions at \mu_{\tilde{y}}(x) = 1 and \mu_{\tilde{y}}(x) > 0, not triangular fuzzy numbers. To extract triangular fuzzy number coefficients of the model, use object$coef.

Examples

  data(fuzzydat)
  f <- fuzzylm(y ~ x, data = fuzzydat$lee)
  coef(f)

fuzzyreg documentation built on March 31, 2023, 9:19 p.m.