qat (version 0.74)

qat_plot_lim_rule_static_1d: Plot a static lim rule result

Description

A plot of the result of a dynamic LIM rule check will be produced.

Usage

qat_plot_lim_rule_static_1d(flagvector, filename, measurement_vector = NULL, min_value = NULL, max_value = NULL, measurement_name = "", directoryname = "", plotstyle = NULL)

Arguments

flagvector
The resulting flagvector of qat\_analyse\_lim\_rule\_static\_1d
filename
Name of the file without extension.
measurement_vector
The measurement vector, which should be plotted
min_value
The used minimum value of the test.
max_value
The used maximum value of the test.
measurement_name
Name of the measurement.
directoryname
Directory, where the resulted file should be stored.
plotstyle
A list with a qat color scheme.

Value

No return value.

Details

A plot will be produced, which base on the resulting flagvector of qat\_analyse\_lim\_rule\_static\_1d. With additional information on the parameters, which were used while performing the test, this function will produce a more detailed plot. When no plotstyle is defined the standard-colorscheme will be used. The resulting plot will be stored in the folder, which is defined by directory under the given filename, with the extension png.

See Also

qat_analyse_lim_rule_static_1d,qat_plot_lim_rule_dynamic_1d, qat_plot_lim_rule_sigma_1d

Examples

Run this code
vec <- rnorm(1000)
result <- qat_analyse_lim_rule_static_1d(vec, -2,2)
# this example produce a file exampleplot_lim_sta.png in the current directory
qat_plot_lim_rule_static_1d(result$flagvector, "exampleplot_lim_sta", 
measurement_vector=vec, min_value=result$min_value, max_value=result$max_value, 
measurement_name="Testresult")

Run the code above in your browser using DataCamp Workspace