crackRinit: Initializes a crackR object (of class Sing, Mult, or CD) from...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/crackRinit.R

Description

Creates an object of class Sing, Mult, or CD from an appropriate list of parameters (using parameter analysis.type to determine the output class). The list of parameters may or may not be of class crackRparameters (the function will attempt to do its thing regardless). User calling of this function is optional since an object of crackRparameters (or simply an appropriate list) may be directly passed to analyze, which will run crackRinit if this was not previously done.

Usage

1
crackRinit(parameters)

Arguments

parameters

Object of class crackRparameters

Details

Value

state

List containing vectors representing the initial state of each particle, consisting of several of the following (depending on the analysis type): the crack lengths (a), crack lengths of primary and secondary cracks (a.p and a.s), fracture toughnesses (kc), importance weights (w), and particle types (typ)

parameters

List of the analysis parameters

results

List of blank data frames as a placeholder for results

Author(s)

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

References

Halbert, K. "Estimation of Probability of Failure for Damage-Tolerant Aerospace Structures" PhD Thesis, Temple University Department of Statistics, Philadelphia, PA, Apr 2014

See Also

analyze

Examples

1
2
3
data(cp7ext)
cp7ext.init <- crackRinit(cp7ext)
head(cp7ext.init$state)

crackR documentation built on May 29, 2017, 8:45 p.m.