qat_plot_histogram_test: Plot a histogram test result

Description Usage Arguments Details Value Author(s) Examples

View source: R/qat_plot_histogram_test.R

Description

A plot of the result of a histogram test will be produced.

Usage

1
2
3
qat_plot_histogram_test(resultfield, filename, blocksize = -1, numofbars = -1, 
factorofbar = -1, metric = NULL, runs = NULL, measurement_name = "", 
directoryname = "", plotstyle = NULL)

Arguments

resultfield

The resulting matrix of qat\_analyse\_histogram\_test\_xxx\_xd

filename

Name of the file without extension.

blocksize

Length of a block.

numofbars

Number of bins of the histograms.

factorofbar

Correction factor for non-value bins.

metric

Metric used for the comparison of the histograms.

runs

Number of used blocks.

measurement_name

Name of the measurement.

directoryname

Directory, where the resulted file should be stored.

plotstyle

A list with a qat color scheme.

Details

A plot will be produced, which base on the resulting field of qat\_analyse\_histogram\_test\_xxx\_xd. 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.

Value

No return value.

Author(s)

Andre Duesterhus

Examples

1
2
3
4
	vec <- c(rnorm(1000), rnorm(1000)+1)
	result <- qat_analyse_histogram_test_emd_1d(vec, 50, 65)
	qat_plot_histogram_test(result$field, "test_emd_1d", result$blocksize, 
	result$numofbars, "emd", result$runs)

qat documentation built on May 30, 2017, 8:27 a.m.