View source: R/plot_functions.R
plot_layout | R Documentation |
This function is used to create the layout of a probability plot. It is
called inside of plot_prob to determine the appearance of the grid with
respect to the given characteristic x
.
plot_layout(
x,
y = NULL,
distribution = c("weibull", "lognormal", "loglogistic", "sev", "normal", "logistic",
"exponential"),
title_main = "Probability Plot",
title_x = "Characteristic",
title_y = "Unreliability",
plot_method = c("plotly", "ggplot2")
)
x |
A numeric vector which consists of lifetime data. |
y |
Optional argument. If used, it is a numeric vector which consists of
failure probabilities with respect to |
distribution |
Supposed distribution of the random variable. |
title_main |
A character string which is assigned to the main title. |
title_x |
A character string which is assigned to the title of the x axis. |
title_y |
A character string which is assigned to the title of the y axis. |
plot_method |
Package, which is used for generating the plot output. |
A plot object containing the layout of the probability plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.