Learn R Programming

ANOVA.TFNs (version 1.0)

plotTFNs: Plotting Triangular Fuzzy Numbers

Description

The exported figure of function plotTFNs is a length(n) figures which are putted top of each other, where i-th figure shows the membership functions of TFNs in i-th population, for i=1,2,...,length(n).

Usage

plotTFNs(Data, means.in.plot = TRUE, col = "gray63", lwd = 2, lty = 1, xlim  )

Arguments

Data

a matrix with \(dim=c(n, 4)\) and FANOVA.Data format.

means.in.plot

a logical argument with default TRUE. If means.in.plot=TRUE, the membership function of the means of TFNs depicted in output figure for each population. Elsewhere, the membership function of the means of TFNs not plotted.

col

the color of lines in plot

lwd

the width of lines in plot

lty

the type of lines in plot

xlim

the limits of x-axis for plots

See Also

FuzzyNumbers

Examples

Run this code
# NOT RUN {
data(Data)

# }
# NOT RUN {
  plotTFNs(Data)
  plotTFNs(Data, means.in.plot=FALSE)
  plotTFNs(Data, col=2, xlim=c(0.8,4), lty=6)
# }

Run the code above in your browser using DataLab