# \donttest{
set.seed(1234)
n <- 100L
x <- samp_elife(n = n,
scale = 2,
shape = -0.2,
lower = low <- runif(n),
upper = upp <- runif(n, min = 3, max = 20),
type2 = "ltrt",
family = "gp")
test <- nc_test(
time = x,
ltrunc = low,
rtrunc = upp,
thresh = quantile(x, seq(0, 0.5, by = 0.1)))
print(test)
plot(test)
# }
Run the code above in your browser using DataLab