Description Usage Arguments See Also Examples
Adjusted QQ-Plot allowing for left-truncated data values.
1 2 |
x |
a numeric vector of data values |
distn |
character string of the distribution |
parm |
list of distribution parameters |
H |
a treshold value |
plot.it |
logical. |
xlab, ylab, main |
plot labels |
... |
further graphical parameters |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | set.seed(123)
treshold <- 10
xc <- rlnorm(100, 2, 2) # complete sample
xt <- xc[xc >= treshold] # left truncated sample
# for not assigned treshold the folliwing
# graphics are identical but not usefull
par(mfrow = c(2,1))
y <- qlnorm(ppoints(length(xt)), 2, 2)
qplot(xt, "plnorm", list(2,2))
qqplot(xt, y); abline(0,1)
# fot trucated data rather use
qplot(xt, "plnorm", list(2,2), H = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.