Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/qat_call_set_nans.R
This function set a specified value of a vector to NaN.
1 2 3 |
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 |
This function calls the described method, which are defined by the parameters in the workflowlist\_part. The possible called functions are qat\_analyse\_set\_nans\_1d, qat\_analyse\_set\_nans\_above\_1d and qat\_analyse\_set\_nans\_below\_1d. As a result the function will give back a list, which include the corrected measurement vector.
Give back a list, which include the measurement vector with the replaced values.
Andre Duesterhus
1 2 3 | vec <- c(1,2,3,4,5,4,3,2,1)
workflowlist_part <- list(nan_value=4)
result <- qat_call_set_nans(vec, workflowlist_part)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.