https://github.com/cran/kappalab
Tip revision: d2fc5e4ce0f6c794342013b6dccb28fc6b39c9ba authored by Ivan Kojadinovic on 07 May 2005, 00:00:00 UTC
version 0.1-3
version 0.1-3
Tip revision: d2fc5e4
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}