Description Usage Arguments Value Examples
Simulates data from an accelerated life test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | altsim(
accel.var.mat,
nsamsz,
centim,
theta,
distribution,
number.sim,
kctype = 1,
escale = 10000,
e = rep(1e-04, number.parameters),
parameter.fixed = rep(F, number.parameters),
intercept = T,
kprint = 0,
maxit = 500,
debug1 = F,
randomize = T
)
|
accel.var.mat |
|
nsamsz |
|
centim |
|
theta |
|
distribution |
|
number.sim |
|
kctype |
|
escale |
|
e |
|
parameter.fixed |
|
intercept |
|
kprint |
|
maxit |
|
debug1 |
|
randomize |
List of plan values and simulated data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ## Not run:
test.matrix <- cbind(V1 = c(1,1,2,2),V2 = c(1,2,1,2))
altsim.out <- altsim(accel.var.mat = test.matrix,
nsamsz = c(4,4,4,4),
centim = c(40000,40000,40000,40000),
theta = c(1,-24,5,1),
distribution = "normal",
number.sim = 10,
debug = F)
altsim.out <- altsim(accel.var.mat = as.matrix(c(1,2,3,4)),
nsamsz = c(4,4,4,4),
centim = c(200,200,200,200),
theta = c(1,-2,3),
distribution = "normal",
number.sim = 5,
debug = F,
kprint = 0)
altsimReturnFrame(accel.var.mat = test.matrix,
nsamsz = c(4,4,4,4),
centim = c(100,100,100,100),
theta = c(1,1,1,2),
distribution =" lognormal",
relationship = c("linear","log"))
## Simulate a single ALT data set
altsimReturnFrame(accel.var.mat = test.matrix,
nsamsz = c(4,4,4,4),
centim = c(100,100,100,100),
theta = c(1,1,1,2),
distribution = "lognormal",
relationship = c("linear","log"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.