plotLotsECDF Generic plot function to plot the ECDF
Source:R/plotLotsECDF.qraLm.R
plotLotsECDF.qraLm.Rd
Plot lot means ECDF curve
Arguments
- x
qraLm object see
Lot2LotGen()
- ...
Optional plot parameters passed to the function
Examples
prod <- Lot2LotGen(
nLots = 1000,
sizeLot = 1000,
unitSize = 500,
betaAlpha = 0.5112,
betaBeta = 9.959,
C0MeanLog = 1.023,
C0SdLog = 0.3267,
propVarInter = 0.7
)
prod1 <- Lot2LotGen(
nLots = 1000,
sizeLot = 1000,
unitSize = 500,
betaAlpha = 0.9112,
betaBeta = 2.959,
C0MeanLog = 2.023,
C0SdLog = 0.5267,
propVarInter = 0.7
)
plotLotsECDF.qraLm(prod1)
p1 <- plotLotsECDF.qraLm(prod)
p2 <- plotLotsECDF.qraLm(prod1)
par(mfrow = c(1, 2))
p1
p2
par(mfrow = c(1, 1)) # reset this parameter