try these:
dweibull(x, shape, scale = 1, log = FALSE)
pweibull(q, shape, scale = 1, lower.tail = TRUE, log.p = FALSE)
qweibull(p, shape, scale = 1, lower.tail = TRUE, log.p = FALSE)
rweibull(n, shape, scale = 1)
------------------ Original ------------------
From: "Maram SAlem";<marammagdysalem at gmail.com>;
Date: Mon, Jul 27, 2015 10:07 PM
To: "r-help"<r-help at r-project.org>;
Subject: [R] Generating Progressively censored samples
Dear All,
Is there some built-in function in R that can be used to generate
progressively censored sample from a certain distribution, for example, the
Weibull distribution? OR Do I have to write the code of the algorithm
myself?
Thanks for helping.
Maram Salem
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]