Description Usage Arguments Details Value Author(s) Examples
View source: R/qat_analyse_set_mean_1d.R
This function makes a mean of sucessive values of a given vector.
1  | qat_analyse_set_mean_1d(measurement_vector, blocksize)
 | 
measurement_vector | 
 The measurement vector, which should be tested  | 
blocksize | 
 Number of elements, which should be added up  | 
Starting with the first element the measurement vector will be splitted up into blocks of the size of the parameter block size. In a second step a mean will be formed with the elements of these blocks. If the last block haven't the size of block size, this block will be ignored.
Give back a list, which includes the vector with the results of the blocks.
Andre Duesterhus
1 2  | vec <- c(1,2,3,4,5,4,3,2,1)
result <- qat_analyse_set_mean_1d(vec, 3)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.