git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/XDE@46401 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
1 |
+\name{seed} |
|
2 |
+\alias{seed} |
|
3 |
+\alias{seed<-} |
|
4 |
+\title{Seed for the MCMC} |
|
5 |
+\description{ |
|
6 |
+ Setting a seed is useful for reproducing MCMC chains |
|
7 |
+} |
|
8 |
+\usage{ |
|
9 |
+seed(object) |
|
10 |
+seed(object) <- value |
|
11 |
+} |
|
12 |
+\arguments{ |
|
13 |
+ \item{object}{ An object of \code{XdeParameter} or \code{XdeMcmc} } |
|
14 |
+ \item{value}{Numeric or integer} |
|
15 |
+} |
|
16 |
+\details{ |
|
17 |
+ |
|
18 |
+ The seed stored in the slot of an object of class \code{XdeParameter} |
|
19 |
+ and an object of class \code{XdeMcmc} are useful in different ways. |
|
20 |
+ For the \code{XdeParameter} class, the seed indicates what seed was |
|
21 |
+ used to initialize an MCMC chain. By contrast, an object of class |
|
22 |
+ \code{XdeMcmc} contains a seed that would be useful for running |
|
23 |
+ additional iterations -- the seed here is guaranteed to be different |
|
24 |
+ from the seed that was used to initiate the MCMC. |
|
25 |
+ |
|
26 |
+} |
|
27 |
+\value{ |
|
28 |
+ An integer |
|
29 |
+} |
|
30 |
+\author{R. Scharpf} |
|
31 |
+\keyword{methods} |
|
32 |
+ |