rnd-methods | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.