Learn R Programming

crackR (version 0.3-9)

analyzeParallel: Perform multiple parallel runs of a probabilistic damage tolerance analysis on a crackR object

Description

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.

Usage

analyzeParallel(obj,n.parallel=3)

Arguments

obj
Object of class Sing, Mult, or CD
n.parallel
Number of parallel sequences to run

Value

List of crackRresults components

See Also

analyze

Examples

Run this code
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)

Run the code above in your browser using DataLab