View source: R/predict.fuzzylm.R
predict.fuzzylm | R Documentation |
Predicts the central tendency and spreads from a fuzzy linear regression model.
## S3 method for class 'fuzzylm'
predict(object, newdata, ...)
object |
a |
newdata |
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. |
... |
further arguments passed to or from other methods. |
fuzzylm
object with newdata
replacing the element x
and
predictions in triangular fuzzy number format representing the central values
and left and right spreads replacing the element y
.
data(fuzzydat)
f <- fuzzylm(y ~ x, data = fuzzydat$lee)
predict(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.