renewDis | R Documentation |
Provide the Empirical Bootstrap Distribution of the number of renewals in a specified time interval.
renewDis(ttf, ttr, time, n, printSummary = TRUE)
ttf |
numeric vector of Time To Failure |
ttr |
numeric vector of Time To Repair |
time |
numeric value representing the time horizon on which number of renewals are calculated |
n |
the number of bootstrap replicates |
printSummary |
logical, if |
A numeric vector of lenght n
with simulated number of
renewals
Daniele Amberti
Kenett, R., Zacks, S. with contributions by Amberti, D. Modern Industrial Statistics: with applications in R, MINITAB and JMP. Wiley.
availDis
set.seed(123) Ttf <- rgamma(50, shape=2, scale=100) Ttr <- rgamma(50, shape=2, scale=1) RenewEbd <- renewDis(ttf=Ttf, ttr=Ttr, time=1000, n=1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.