plotly_histtol | R Documentation |
Provides interactive tolerance intervals for continous data based on its histogram.
plotly_histtol(tol.out,
x,
side = c("two","upper", "lower"),
x.lab = NULL,
x.lab.size = NULL,
x.tick.size = NULL,
y.lab.size = NULL,
y.tick.size = NULL,
title = NULL,
title.size = NULL,
title.position.x = NULL,
title.position.y = NULL,
bin.col = NULL,
tol.col = NULL,
tol.lwd = NULL,
tol.line.type = c("dash","dot","dashdot","solid"))
tol.out |
Output from any continuous tolerance interval procedure. |
x |
Data from a continuous distribution. |
side |
|
x.lab |
Label of the x-axis. |
x.lab.size |
Size of label of the x-axis. |
x.tick.size |
Size of tick marks on the x-axis. |
y.lab.size |
Size of label of the y-axis. |
y.tick.size |
Size of tick marks on the y-axis. |
title |
The main title on top of the histogram. |
title.size |
Size of the title. |
title.position.x |
Horizontal position of the title. |
title.position.y |
Vertical position of the title. |
bin.col |
Color of the bins. |
tol.col |
Color of the tolerance interval(s). |
tol.lwd |
Width of the tolerance interval(s). |
tol.line.type |
Line type of the tolerance interval(s). |
plotly_histtol
can return histograms as well as corresponding tolerance intervals for any continuous data.
Montgomery, D. C. (2005), Introduction to Statistical Quality Control, Fifth Edition, John Wiley & Sons, Inc.
plottol
## 90%/90% 1-sided Weibull tolerance intervals for a sample
## of size 150.
set.seed(100)
x <- rweibull(150, 3, 75)
out <- exttol.int(x = x, alpha = 0.15, P = 0.90, dist = "Weibull" , side = 1)
out
plotly_histtol(out, x, side = "lower", x.lab = "Weibull Data" , tol.lwd = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.