qat_analyse_set_addup_2d: Addup values of a vector

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

View source: R/qat_analyse_set_addup_2d.R

Description

This function adds up successive values of a given vector

Usage

1
qat_analyse_set_addup_2d(measurement_vector, blocksize)

Arguments

measurement_vector

The measurement vector, which should be tested

blocksize

Number of elements, which should be added up

Details

Starting with the first element the measurement vector will be split up into blocks of the size of the parameter block size. In a second step the elements of these blocks will be summed up. If the last block haven't the size of block size, this block will be ignored.

Value

Give back a list, which includes the vector with the results of the blocks.

Author(s)

Andre Duesterhus

See Also

qat_analyse_set_mean_2d, qat_analyse_set_nans_2d

Examples

1
2
vec <- array(rnorm(144), c(12,12))
result <- qat_analyse_set_addup_2d(vec, 3)

qat documentation built on May 2, 2019, 4:06 p.m.