superclass.set.func-class | R Documentation |
Virtual class, superclass of all *.set.func
classes. Used to define common show
and summary
methods for *.set.func
classes.
A virtual Class: No objects may be created from it.
n
:Object of class numeric
of length 1 equal
to the number of elements of the set on which the
set function is defined.
data
:Object of class numeric
containing the
coefficients of the set function.
signature(object = "superclass.set.func")
signature(x = "superclass.set.func", digits = "numeric")
signature(object = "superclass.set.func")
show-methods
,
rnd-methods
,
summary-methods
,
set.func-class
,
Mobius.set.func-class
,
card.set.func-class
,
Mobius.card.set.func-class
.
## three set functions
mu1 <- card.set.func(-2:4)
mu2 <- set.func(c(-2,-2,-2:11/11))
mu3 <- Mobius.set.func(c(-7:6,6,6),4,4)
## print mu1
show(mu1)
## the same
mu1
## the others
mu2
mu3
## round mu2
rnd(mu2,2)
## compute indices to summarize them
summary(mu1)
summary(mu2)
summary(mu3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.