forked from stephenslab/mixsqp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tacks.Rd
35 lines (30 loc) · 1016 Bytes
/
tacks.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tacks.R
\docType{data}
\name{tacks}
\alias{tacks}
\title{Beckett & Diaconis tack rolling example.}
\format{
\code{tacks} is a list with the following elements:
\describe{
\item{L}{9 x 299 likelihood matrix.}
\item{w}{Numeric vector of length 9 specifying the weights
associated with the rows of \code{L}.}
\item{x}{Solution provided by the \code{\link[REBayes]{KWDual}}
solver.}
}
}
\description{
This data set contains the likelihood matrix and
weights for the Beckett-Diaconis tacks example, in which the data
are modeled using a binomial mixture. These data were generated by
running the "Bmix1" demo from the REBayes package, and saving the
arguments passed to \code{\link[REBayes]{KWDual}}, as well as the
(normalized) solution returned by the \code{KWDual} call.
}
\examples{
# The optimal solution for the tack example is extremely sparse.
data(tacks)
plot(tacks$x,type = "l",col = "royalblue")
}
\keyword{data}