R/filter.R
preserve_last_n.Rd
Useful for extracting a set of representative samples for each run, assuming the last part of each run is the most representative. Can specify a maximum share of samples that the function preserves. Runs with fewer samples are removed entirely.
preserve_last_n(.input, .n, .max_share = 0.5)
Measurement results to filter.
How many samples taken from end to preserve.
Maximum share of samples to preserve.
Filtered measurement results.