Description Usage Arguments Value Examples
Gnerate Metropolis chain from giving multinomial distribution
1 | sample.chain(N, start)
|
N |
the length of chain |
start |
the starting value |
a random sample of size N
1 2 3 4 5 | ## Not run:
rnR <- sample.chain(100,1)
plot(rnR,type='l')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.