qat (version 0.74)

qat_analyse_set_nans_below_2d: Set values below threshold to NaN

Description

This function set a values of a vector below a given value to NaN.

Usage

qat_analyse_set_nans_below_2d(measurement_vector, nan_below)

Arguments

measurement_vector
The measurement vector, which should be worked on
nan_below
Value, below the values should be replaced by NaN

Value

Return a list, which includes the measurement vector with the replaced values.

Details

In the given measurement vector, the values, which are below nan\_below, will be replaced by NaN.

See Also

qat_analyse_set_addup_2d, qat_analyse_set_mean_2d, qat_analyse_set_nans_2d, qat_analyse_set_nans_above_2d

Examples

Run this code
vec <- array(c(1,2,3,4,5,4,3,2,1), c(3,3))
result <- qat_analyse_set_nans_below_2d(vec, 4)

Run the code above in your browser using DataCamp Workspace