Description Usage Arguments Value Author(s) See Also Examples

View source: R/analyzeParallel.R

One powerful method for assessing convergence of a sequential importance sampling analysis is to run parallel sequences. This function does this, saving only the results (of class crackRresults). Results are returned in a list. Note parallelization is not performed, the analyses are run sequentially...thus this is a convenience function and a placeholder for the time being.

1 | ```
analyzeParallel(obj,n.parallel=3)
``` |

`obj` |
Object of class Sing, Mult, or CD |

`n.parallel` |
Number of parallel sequences to run |

List of crackRresults components

Keith Halbert <keith.a.halbert@gmail.com>

1 2 3 4 5 6 7 8 9 | ```
set.seed(327)
## cp7ext data is part of this package
data(cp7ext)
## prepare a crackR object for analysis
cp7ext.init <- crackRinit(cp7ext)
## perform 2 parallel runs
cp7ext.out.2 <- analyzeParallel(cp7ext.init, n.parallel=2)
## Plot SFPOF results
plot(cp7ext.out.2)
``` |

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.