https://github.com/cran/kappalab
Tip revision: 10e850e67333b1ec9de31a1a5b43e758f46cd2a9 authored by Ivan Kojadinovic on 07 December 2007, 00:00:00 UTC
version 0.4-1
version 0.4-1
Tip revision: 10e850e
set.func.gen.Rd
\name{set.func}
\alias{set.func}
\alias{game}
\alias{capacity}
\title{Create objects of class "set.func", "game", or "capacity".}
\description{These functions create objects of class \code{set.func},
\code{game}, or \code{capacity} from objects of class \code{numeric}.}
\usage{
set.func(object)
game(object)
capacity(object)
}
\arguments{
\item{object}{An object of class \code{numeric} containing the
coefficients of the set function in "natural" order. Its length has
to be a power of 2.}
}
\value{
Return objects of class \code{set.func}, \code{game}, or \code{capacity}.
}
\seealso{
\code{\link{capacity-class}},
\cr \code{\link{game-class}},
\cr \code{\link{set.func-class}}.
}
\examples{
set.func(-12:3)
game(c(0,rep(-1,15)))
capacity(0:15)
}
\keyword{math}