View source: R/plotly_normOC.R
plotly_normOC | R Documentation |
plotly
version of norm.OC
)plotly_normOC
is an updated function rooted in norm.OC
.
plotly_normOC(k = NULL,
alpha = NULL,
P = NULL,
n,
side = 1,
method = c("HE", "HE2", "WBE", "ELL", "KM", "EXACT", "OCT"),
m = 50,
range.min = NULL,
range.max = NULL,
x.lab.size = NULL,
y.lab.size = NULL,
x.tick.size = NULL,
y.tick.size = NULL,
title = NULL,
title.size = NULL,
title.position.x = NULL,
title.position.y = NULL,
legend.size = NULL,
x.cex = NULL,
line.width = NULL,
line.type = c("solid","dash","dot","dashdot"))
k |
If wanting OC curves where the confidence level or content level is on the y-axis, then a single positive value of |
alpha |
The set of levels chosen such that |
P |
The set of content levels to be considered. If wanting OC curves where the confidence level is being calculated, then each curve will correspond to a level in the set of |
n |
A sequence of sample sizes to consider. This must be a vector of at least length 2 since all OC curves are constructed as functions of |
side |
Whether a 1-sided or 2-sided tolerance interval is required (determined by |
method |
The method for calculating the k-factors. The k-factor for the 1-sided tolerance intervals
is performed exactly and thus is the same for the chosen method. |
m |
The maximum number of subintervals to be used in the |
range.min |
The minimum value of the y-axis. |
range.max |
The maximum value of the y-axis. |
x.lab.size |
Size of label of the x-axis. |
y.lab.size |
Size of label of the y-axis. |
x.tick.size |
Size of tick marks on the x-axis. |
y.tick.size |
Sze of tick marks on the y-axis. |
title |
The main title on top of the plot. |
title.size |
Size of the title. |
title.position.x |
Horizontal position of the title. |
title.position.y |
Vertical position of the title. |
legend.size |
Size of the legend. |
x.cex |
Size of data points. |
line.width |
Width of lines connecting data points. |
line.type |
The type of lines connection data points. |
norm.OC
returns a figure with the OC curves constructed using the specifications in the arguments.
Young, D. S. (2016), Normal Tolerance Interval Procedures in the tolerance Package, The R Journal, 8, 200–212.
K.factor
, normtol.int
, norm.OC
## The three types of OC-curves that can be constructed
## with the ggnorm.OC function.
plotly_normOC(k = 4, alpha = NULL, P = c(0.90, 0.95, 0.99),
n = 10:20, side = 1)
plotly_normOC(k = 4, alpha = c(0.01, 0.05, 0.10), P = NULL,
n = 10:20, side = 1)
plotly_normOC(k = NULL, P = c(0.90, 0.95, 0.99),
alpha=c(0.01,0.05,0.10), n = 10:20, side = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.