Package FCGR. October 13, 2015

Similar documents
Package r2d2. February 20, 2015

Package feature. R topics documented: July 8, Version Date 2013/07/08

Package gains. September 12, 2017

Package lmesplines. R topics documented: February 20, Version

Package feature. R topics documented: October 26, Version Date

Package OptimaRegion

Package spd. R topics documented: August 29, Type Package Title Semi Parametric Distribution Version Date

Package MFDFA. April 18, 2018

Package SCBmeanfd. December 27, 2016

Package munfold. R topics documented: February 8, Type Package. Title Metric Unfolding. Version Date Author Martin Elff

Package intccr. September 12, 2017

Package libstabler. June 1, 2017

Package citools. October 20, 2018

Package basictrendline

Package pampe. R topics documented: November 7, 2015

Package MIICD. May 27, 2017

Package GLDreg. February 28, 2017

Package DengueRT. May 13, 2016

Package lcc. November 16, 2018

Package fitplc. March 2, 2017

Package sure. September 19, 2017

Package sciplot. February 15, 2013

Package sesem. March 4, 2014

Package JOP. February 19, 2015

Package sizemat. October 19, 2018

Package npregfast. November 30, 2017

Package SiZer. February 19, 2015

Package ssmn. R topics documented: August 9, Type Package. Title Skew Scale Mixtures of Normal Distributions. Version 1.1.

Package freeknotsplines

Package nprotreg. October 14, 2018

Package kerdiest. February 20, 2015

Package mixphm. July 23, 2015

Package OLScurve. August 29, 2016

Package mlegp. April 15, 2018

Package CompModSA. February 14, 2012

The Basics of Plotting in R

Package spcadjust. September 29, 2016

Package dyncorr. R topics documented: December 10, Title Dynamic Correlation Package Version Date

Package nonmem2r. April 5, 2018

Package MPCI. October 25, 2015

Package kofnga. November 24, 2015

Package DPBBM. September 29, 2016

Package Rearrangement

Package ModelGood. R topics documented: February 19, Title Validation of risk prediction models Version Author Thomas A.

Package SPIn. R topics documented: February 19, Type Package

Package visualizationtools

Package multigraph. R topics documented: January 24, 2017

Package TBSSurvival. January 5, 2017

Package tseriesentropy

Package spikes. September 22, 2016

Package weco. May 4, 2018

Package mcmcse. February 15, 2013

Package TMixClust. July 13, 2018

Package SmoothHazard

Package ArCo. November 5, 2017

Package TBSSurvival. July 1, 2012

Package survivalmpl. December 11, 2017

Package areaplot. October 18, 2017

Package sspline. R topics documented: February 20, 2015

Package texteffect. November 27, 2017

Package ClustGeo. R topics documented: July 14, Type Package

Package infutil. R topics documented: February 20, Version 1.0 Date Title Information Utility Author Kristian E.

Package GenKern. R topics documented: February 19, Version Date 10/11/2013

Package SFtools. June 28, 2017

Package simr. April 30, 2018

Intro to R Graphics Center for Social Science Computation and Research, 2010 Stephanie Lee, Dept of Sociology, University of Washington

Package beanplot. R topics documented: February 19, Type Package

Package vinereg. August 10, 2018

Package kdevine. May 19, 2017

Package nplr. August 1, 2015

Package replicatedpp2w

Package ExceedanceTools

Package bayesdp. July 10, 2018

Package intcensroc. May 2, 2018

Package multigraph. R topics documented: November 1, 2017

Package RcmdrPlugin.survival

Package geofd. R topics documented: October 5, Version 1.0

Package benchden. February 19, 2015

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package smicd. September 10, 2018

Package parfossil. February 20, 2015

Package Daim. February 15, 2013

Package Mondrian. R topics documented: March 4, Type Package

Package enpls. May 14, 2018

Package complmrob. October 18, 2015

Package Ake. March 30, 2015

Package DBKGrad. R topics documented: December 2, 2018

Package MeanShift. R topics documented: August 29, 2016

Package lvm4net. R topics documented: August 29, Title Latent Variable Models for Networks

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package clampseg. May 25, 2018

Package gsscopu. R topics documented: July 2, Version Date

Package activity. September 26, 2016

Package orqa. R topics documented: February 20, Type Package

Package ILS. March 6, 2018

Package desplot. R topics documented: April 3, 2018

Package DTRreg. August 30, 2017

Package MixSim. April 29, 2017

Package seg. February 15, 2013

Package FWDselect. December 19, 2015

Transcription:

Type Package Title Fatigue Crack Growth in Reliability Version 1.0-0 Date 2015-09-29 Package FCGR October 13, 2015 Author Antonio Meneses <antoniomenesesfreire@hotmail.com>, Salvador Naya <salva@udc.es>, Javier Tarrio-Saavedra <jtarrio@udc.es>, Ignacio Lopez-Ullibarri <ilu@udc.es> Maintainer Antonio Meneses <antoniomenesesfreire@hotmail.com> Depends R (>= 3.2.2), KernSmooth, kerdiest, nlme Imports MASS, mgcv, pspline, sfsmisc Description Fatigue Crack Growth in Reliability estimates the distribution of material lifetime due to mechanical fatigue efforts. The FCGR package provides simultaneous crack growth curves fitting to different specimens in materials under mechanical stress efforts. Linear mixed-effects models (LME) with smoothing B-Splines and the linearized Paris-Erdogan law are applied. Once defined the fail for a determined crack length, the distribution function of failure times to fatigue is obtained. The density function is estimated by applying nonparametric binned kernel density estimate (bkde) and the kernel estimator of the distribution function (kde). The results of Pinheiro and Bates method based on nonlinear mixed-effects regression (nlme) can be also retrieved. The package contains the crack.growth, PLOT.cg, IB.F, and Alea.A (database) functions. License GPL (>= 2) LazyData yes NeedsCompilation no Repository CRAN Date/Publication 2015-10-13 09:10:49 1

2 FCGR-package R topics documented: FCGR-package....................................... 2 Alea.A............................................ 3 cracks.growth........................................ 4 IB.F............................................. 6 PLOT.cg........................................... 8 Index 11 FCGR-package Fatigue Crack Growth in Reliability Description Details Fatigue Crack Growth in Reliability estimates the distribution of material lifetime due to mechanical fatigue efforts. The FCGR package provides simultaneous crack growth curves fitting to different specimens in materials under mechanical stress efforts. Linear mixed-effects models (LME) with smoothing B-Splines and the linearized Paris-Erdogan law are applied. Once defined the fail for a determined crack length, the distribution function of failure times to fatigue is obtained. The density function is estimated by applying nonparametric binned kernel density estimate (bkde) and the kernel estimator of the distribution function (kde). The results of Pinheiro and Bates method based on nonlinear mixed-effects regression (nlme) can be also retrieved. The package contains the crack.growth, PLOT.cg, IB.F, and Alea.A (database) functions. Package: FCGR Type: Package Version: 1.0 Date: 2015-09-29 License: GPL >= 2 The main functions and data frame are cracks.growth, IB.F, PLOT.cg, Alea.A Author(s) Antonio Meneses <antoniomenesesfreire@hotmail.com>, Salvador Naya <salva@udc.es>, Javier Tarrio-Saavedra <jtarrio@udc.es>, Ignacio Lopez-Ullibarri <ilu@udc.es> Maintainer: Antonio Meneses <antoniomenesesfreire@hotmail.com> References Meeker, W., Escobar, L. (1998) Statistical Methods for Reliability Data. John Wiley & Sons, Inc. New York.

Alea.A 3 Pinheiro JC., Bates DM. (2000) Mixed-effects models in S ans S-plus. Statistics and Computing. Springer-Verlang. New York. Paris, P.C. and Erdogan, F. (1963) A critical analysis of crack propagation laws. J. Basic Eng., 85, 528. Alea.A Crack growth of aluminum A-alloy due mechanical fatigue efforts Description Crack growth of aluminum A-alloy due mechanical fatigue efforts. Alea.A is a data frame composed of 262 rows y 3 columns. Format This data frame is composed of the following columns: cycles 21 vectors with times or cycles corresponding to each specimen (overall 262 cycles). cracks 21 vectors with the crack lengths corresponding to each specimen. sample 21 different specimens, each one repeated the number of elements of "cycles" or "cracks". Details Alea.A is composed of the crack length growth and number of cycles of 21 different specimens. It is detailed in Hudak et al. (1978) and referred by Meeker and Escobar (1998) in table C.14. Source Meeker, W., Escobar, L. (1998) Statistical Methods for Reliability Data. John Wiley & Sons, Inc. New York. Examples data(alea.a)

4 cracks.growth cracks.growth Fatigue crack growth in reliability analysis Description Usage It provides the lifetime distribution of metallic materials that fail due to the crack growth produced by mechanical fatigue efforts. The crack growth trends are fitted by linear or nonlinear mixed effects regression models in order to make predictions about the material lifetime. The lifetime is defined as the time passed before the material does not meet the specification requirements and it is conditioned by a critical crack length that induces the material failure. Three different methods can be applied to estimate the fatigue lifetime distribution: "SEP-lme_bkde" and "SEP-lme_kde" are nonparametric while "PB-nlme" corresponds to the parametric approach proposed by Pinheiro and Bates (2000). cracks.growth(x, af, T_c, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme"), nmc = 5000, nbkde = 5000, nkde = 5000) Arguments x af T_c Details method Matrix or data frame composed of three columns: times or number of cycles, crack lengths and specimen number. Critical crack length for which the material failure is produced. Censoring time or frequency. A string of characters: "SEP-lme_bkde" (default methodology) indicates that a mixed effects linear regression model is applied to crack growth data and the lifetime density is estimated by bkde method. "SEP-lme_kde" indicates that a mixed effects linear regression model is applied to crack growth data and the lifetime distribution is estimated by kde method. "PB-nlme" indicates that a mixed effects nonlinear regression model is applied to crack growth data and the lifetime the parameters are estimated maximum likelihood methodologies, and the lifetime distribution by Monte Carlo. nmc Number of Monte Carlo estimates, by default 5000. nbkde Number of bkde estimates, by default 5000. nkde Number of kde estimates, by default 5000. This function provides a simultaneous fitting of crack growth data corresponding to different specimens when these are subjected to mechanical fatigue efforts. For this purpose, mixed effects linear models (lme) with B-spline smoothing are applied. Since the failure is defined at a specific critical crack length, predictions of material lifetime are obtained assuming the linearized Paris-Erdogan law and the material lifetime distribution is estimated. There are available three different techniques to estimate the lifetime distribution: the binned kernel density estimate (bkde), the kernel estimator

cracks.growth 5 for the distribution function (kde) computed by Quintela del Rio and Estevez-Perez (2012), and in addition the parametric method proposed by Pinheiro and Bates (2000) based on mixed effects nonlinear regression (nlme), maximum likelihood and Monte Carlo simulation. Value Return a list with the following values: data a.f Tc param crack.est sigma residuals crack.pred F.emp bw F.est nbkde nkde nmc Data frame with the data corresponding to number of cycles, crack length, and sample. Critical crack length. Censoring time. Data frame with the estimates of Paris law parameters: C and m Data frame with time, crack growth estimates, and corresponding sample or specimen. Residual standard deviation. Residuals resulting from the crack length fitting. Data frame with time, crack growth predictions out of the experimental time interval, and corresponding sample or specimen. Data frame with the empirical lifetime distribution and the corresponding time: time, Fe. Bandwidth used in bkde and kde methods. Data frame with the estimated lifetime distribution and the corresponding time: time, F. Number of bkde estimates. Number of kde estimates. Number of Monte Carlo estimates. Author(s) Antonio Meneses <antoniomenesesfreire@hotmail.com>, Salvador Naya <salva@udc.es>, Javier Tarrio-Saavedra <jtarrio@udc.es>, Ignacio Lopez-Ullibarri <ilu@udc.es> References Meeker, W., Escobar, L. (1998) Statistical Methods for Reliability Data. John Wiley & Sons, Inc. New York. Pinheiro JC., Bates DM. (2000) Mixed-effects models in S ans S-plus. Statistics and Computing. Springer-Verlang. New York. Paris, P.C. and Erdogan, F. (1963) A critical analysis of crack propagation laws. J. Basic Eng., 85, 528.

6 IB.F Quintela-del-Rio, A. and Estevez-Perez, G. (2012) Nonparametric Kernel Distribution Function Estimation with kerdiest: An R Package for Bandwidth Choice and Applications, Journal of Statistical Software 50(8), 1. URL http://www.jstatsoft.org/v50/i08/. Examples ## Not run: ## Using the Alea.A dataset data(alea.a) x <- Alea.A ## Critical crack length af <- 1.6 ## Censoring time T_c <- 0.12 ## cracks.growth function applied to Alea.A data cg <- cracks.growth (x, af, T_c, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme"), nbkde = 5000, nkde = 5000, nmc = 5000) ## cracks.growth values using the "SEP-lme_bkde" by default method. names(cg) # [1] "data" "a.f" "Tc" "param" "crack.est" # [6] "sigma" "residuals" "crack.pred" "F.emp" "bw" #[11] "F.est" "nbkde" ## End(Not run) IB.F Bootstrap confidence bands for fatigue lifetime Description It performs bootstrap confidence bands for fatigue lifetime. The lifetime matrix is calculated by bootstrap resampling by means the above mentioned methodologies (see craks.growth). The confidence bands are estimated by the quantile based method. Usage IB.F(z, nb, alpha = 0.05, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme")) Arguments z nb alpha method cracks.growth object. Number of bootstrap resampling. Confidence level. Character string showing the distribution estimates method: "SEP-lme_bkde", "SEP-lme_kde" or "PB-nlme.

IB.F 7 Details IB.F is performed from the output of cracks.growth function. Value Return a list with the following values: Mat.F.B I.Bootstrap Matrix that contents the fatigue lifetimes corresponding to each bootstrap resampling. Data frame that contents the bootstrap confidence bands for lifetime distribution, at a confidence level of 95 percent (by default). It is composed by two columns corresponding to the bands limits: low, up. Author(s) Antonio Meneses <antoniomenesesfreire@hotmail.com>, Salvador Naya <salva@udc.es>, Javier Tarrio-Saavedra <jtarrio@udc.es>, Ignacio Lopez-Ullibarri <ilu@udc.es> References Meeker, W., Escobar, L. (1998) Statistical Methods for Reliability Data. John Wiley & Sons, Inc. New York. Pinheiro JC., Bates DM. (2000) Mixed-effects models in S ans S-plus. Statistics and Computing. Springer-Verlang. New York. Paris, P.C. and Erdogan, F. (1963) A critical analysis of crack propagation laws. J. Basic Eng., 85, 528. Examples ## Not run: ## Using the Alea.A dataset data(alea.a) x <- Alea.A ## Critical crack length af <- 1.6 ## Censoring time T_c <- 0.12 ## cracks.growth function applied to Alea.A data cg <- cracks.growth(x, af, T_c, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme"), nbkde = 5000, nkde = 5000, nmc = 5000) ## z is a cracks.growth object z <- cg ## Number of bootstrap resamplings nb <- 100 ## Application of IB.F function to cg object ic.b <- IB.F(z, nb, alpha = 0.05, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme"))

8 PLOT.cg ## ic.b values obtainde by the "SEP-lme_bkde" model names(ic.b) # [1] "Mat.F.B" "I.Bootstrap" ## Chart with the empirical and estimated distribution functions, ## with bootstrap confidence bands at 95 # Observations from which the distribution function is estimated F1.F <- z$f.est[,2] plot( ic.b$i.bootstrap$low,f1.f, col=2, type="l", lty=2, lwd=2, xlim=c(0.05,0.18), main="plot: distributions of failure times\n confidence intervals", xlab="million cycles", ylab="probability", cex.lab=1.7, cex.main=2, las=1) lines(ic.b$i.bootstrap$up, F1.F, col=2, lty=2, lwd=2) points(z$f.est, pch=20) points(z$f.emp, col=4, pch=20, cex=1.5) legend("topleft", c("empirical", "Estimated","Bootstrap (95 percent)"), col=c("blue","black","red"), lty=c(1,1,1), pch=c(20,20,20), cex=1.5, bty="n") ## Graph with confidence bands matplot(ic.b$mat.f.b, F1.F, main="bootstrap resampling lines", type="l", lwd=2, xlim=c(0.05,0.18), xlab="million cycles", ylab="probability", cex.lab=1.7, cex.main=2, las=1) ## End(Not run) PLOT.cg Fatigue Crack Growth in Reliability plots Description It provides graphical outputs composed of the trends corresponding to the crack length growth due to mechanical fatigue, the crack length estimates by the models, crack length predictions, and lifetime distribution estimates. Usage PLOT.cg(x) Arguments x cracks.growth object Details Specifically, the following graphs are provided: exploratory dataset graph, plot with the crack length estimates and predictions, residuals graph, empirical and estimated lifetime distribution plot obtained by SEP-lme_bkde, SEP-lme_kde or PB-nlme methods.

PLOT.cg 9 Value Return the following values: plot.data plot.pred plot.f plot.resid Exploratory chart. Plot for fatigue lifetimes estimates and predictions. Plot for the empirical distribution and lifetimes distribution estimates of fatigue lifetimes. Residuals chart. Author(s) Antonio Meneses <antoniomenesesfreire@hotmail.com>, Salvador Naya <salva@udc.es>, Javier Tarrio-Saavedra <jtarrio@udc.es>, Ignacio Lopez-Ullibarri <ilu@udc.es> References Meeker, W., Escobar, L. (1998) Statistical Methods for Reliability Data. John Wiley & Sons, Inc. New York. Pinheiro JC., Bates DM. (2000) Mixed-effects models in S ans S-plus. Statistics and Computing. Springer-Verlang. New York. Paris, P.C. and Erdogan, F. (1963) A critical analysis of crack propagation laws. J. Basic Eng., 85, 528. Examples ## Not run: ## Using the Alea.A dataset data(alea.a) x <- Alea.A ## Critical crack length af <- 1.6 ## Censoring time T_c <- 0.12 ## cracks.growth function applied to Alea.A data cg <- cracks.growth (x, af, T_c, method = c("sep-lme_bkde", "SEP-lme_kde", "PB-nlme"), nbkde = 5000, nkde = 5000, nmc = 5000) ## PLOT.cg applied to cg object. PLOT <- PLOT.cg(cg) names(plot) ## [1] "plot.data" "plot.pred" "plot.f" "plot.resid" ## Exploratory chart for the Alea.A dataset PLOT$plot.data(main = "Plot: crack growth", xlab = "million cycles", ylab = "cracks(inches)", cex.lab=1.8, cex.main = 2) text(0.02, x$a.f + 0.05, "Failure", cex = 1.8) text(0.095, 0.95, "Censoring time->", cex = 1.5)

10 PLOT.cg ## Plot for fatigue lifetimes estimates and predictions. PLOT$plot.pred(xlab = "million cycles", ylab = "cracks(inches)", main = "Plot: crack growth, estimation and prediction\n failure times (red)", cex.lab = 1.8, cex.main = 1.5) text(0.02,x$a.f+0.05, "Failure", cex = 1.8) text(0.085,0.95, "Censoring time->", cex = 1.5) ## Plot for the empirical distribution and lifetimes distribution estimates ## of fatigue lifetimes PLOT$plot.F(main = "Plot: distributions of failure times", xlab = "million cycles", ylab = "probability", cex.lab = 1.7, cex.main=2) text(0.14, 0.1, "<-Censoring time", cex = 1.5) legend("topleft", c("empirical", "Estimated"), col = c("blue","black"), pch=c(20,20), cex=1.5, bty="n") ## Residuals chart. PLOT$plot.resid(main = "Plot: residual", xlab = "fitted", ylab = "residuals", cex = 1.5, col = "blue", cex.lab = 1.7, cex.main = 2) ## End(Not run)

Index Topic IB.F IB.F, 6 Topic PLOT.cg() PLOT.cg, 8 Topic cracks.growth cracks.growth, 4 Topic datasets Alea.A, 3 Topic package FCGR-package, 2 Alea.A, 3 cracks.growth, 4 FCGR-package, 2 IB.F, 6 PLOT.cg, 8 11