plot.fsets | R Documentation |
fsets()
as a line diagram.This function plots the membership degrees stored in the instance of the
fsets()
class. Internally, the membership degrees are
transformed into a time-series object and viewed in a plot using the
ts.plot()
function. This function is useful mainly to see the
shape of fuzzy sets on regularly sampled inputs.
## S3 method for class 'fsets'
plot(x, ...)
x |
An instance of class |
... |
Other arguments that are passed to the underlying |
Result of the ts.plot()
method.
Michal Burda
fsets()
, fcut()
, lcut()
, ts.plot()
d <- lcut(0:1000/1000, name='x')
plot(d)
# Additional arguments are passed to the ts.plot method
# Here thick lines represent atomic linguistic expressions,
# i.e. ``small'', ``medium'', and ``big''.
plot(d,
ylab='membership degree',
xlab='values',
gpars=list(lwd=c(rep(1, 3), 5, rep(1, 5), 5, rep(1, 7), 5, rep(1,4))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.