qat (version 0.74)

qat_call_set_mean: Mean of values of a vector

Description

This function make a mean of sucessive values of a given vector.

Usage

qat_call_set_mean(measurement_vector, workflowlist_part, element = -999, time = NULL, height = NULL, lat = NULL, lon = NULL, vec1 = NULL, vec2 = NULL, vec3 = NULL, vec4 = NULL, resultlist = list(), resultlistcounter = 1)

Arguments

measurement_vector
The measurement vector, which should be tested
workflowlist_part
A list with the parameters of the check
element
Element-identifier for the result, which will be given back in the resultlist
time
A vector of time elements with the length of the measurement vector
height
A vector of height elements with the length of the measurement vector
lat
A vector of latitude elements with the length of the measurement vector
lon
A vector of longitude elements with the length of the measurement vector
vec1
An additional vector, which is named as vec1
vec2
An additional vector, which is named as vec2
vec3
An additional vector, which is named as vec3
vec4
An additional vector, which is named as vec4
resultlist
A list with results of tests
resultlistcounter
Number of elements of the resultlist

Value

Give back a list, which include the vector with the results of the block.

Details

This function calls the described method, which are defined by the parameters in the workflowlist\_part. The possible called function is qat\_analyse\_set\_mean\_1d. As a result the function will give back a list, which include the corrected measurement vector.

See Also

qat_analyse_set_mean_1d

Examples

Run this code
vec <- c(1,2,3,4,5,4,3,2,1)
workflowlist_part <- list(blocksize=3)
result <- qat_call_set_mean(vec, workflowlist_part)

Run the code above in your browser using DataCamp Workspace