rnd-methods {kappalab} | R Documentation |
Rounds the coefficients of a set function to the specified number of decimal places (default 0).
Returns an object of the same class as
x
whose data
attribute is rounded.
## a capacity mu <- capacity(0:15/15) mu rnd(mu,2) ## a similar example with a Mobius.capacity object a <- Mobius(mu) a rnd(a,1) ## a similar example with a card.capacity object mu <- uniform.capacity(6) mu rnd(mu)