qat_analyse_set_nans_above_2d: Set values above threshold to NaN

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/qat_analyse_set_nans_above_2d.R

Description

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

Usage

1
qat_analyse_set_nans_above_2d(measurement_vector, nan_above)

Arguments

measurement_vector

The measurement vector, which should be worked on

nan_above

Value, above the values should be replaced by NaN

Details

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

Value

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

Author(s)

Andre Duesterhus

See Also

qat_analyse_set_addup_2d, qat_analyse_set_mean_2d, qat_analyse_set_nans_2d, qat_analyse_set_nans_below_2d

Examples

1
2
vec <- array(c(1,2,3,4,5,4,3,2,1), c(3,3))
result <- qat_analyse_set_nans_above_2d(vec, 4)

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

Search within the qat package
Search all R packages, documentation and source code