qat_analyse_set_nans_1d: Set given values of a vector to NaN

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

View source: R/qat_analyse_set_nans_1d.R

Description

This function set a specified value of a vector to NaN.

Usage

1
qat_analyse_set_nans_1d(measurement_vector, nan_value)

Arguments

measurement_vector

The measurement vector, which should be worked on

nan_value

Value, which should be replaced by NaN

Details

In the given measurement vector, the value, which is specified by nan\_value, will be replaced by NaN.

Value

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

Author(s)

Andre Duesterhus

See Also

qat_analyse_set_addup_1d, qat_analyse_set_mean_1d

Examples

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

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