Description Usage Arguments Details Value Examples

Thins the output from an MCMC process

1 | ```
thin(x, k)
``` |

`x` |
A vector, matrix or data.frame containing output from an MCMC sampling scheme |

`k` |
An integer. This function takes every kth element from x |

Note this function does not check to see if k is sensible.

A thinned vector, matrix or data frame containing every kth element of x.

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.