Description Usage Arguments See Also Examples

View source: R/invert_chains.R

Find which chains to invert by checking the sum of the squared deviations between the first chain and each other chain.

1 | ```
find_inverted_chains(model, trend = 1, plot = FALSE)
``` |

`model` |
A Stan model, |

`trend` |
Which trend to check |

`plot` |
Logical: should a plot of the trend for each chain be made?
Defaults to |

invert_chains

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.