thinOut {PTXQC} | R Documentation |
Thin out a data.frame by removing rows with similar numerical values in a certain column.
Description
All values in the numerical column 'filterColname' are assigned to bins of width 'binsize'. Only one value per bin is retained. All other rows are removed and the reduced data frame will all its columns is returned.
Usage
thinOut(data, filterColname, binsize)
Arguments
data |
The data.frame to be filtered |
filterColname |
Name of the filter column as string |
binsize |
Width of a bin |
Value
Data.frame with reduced rows, but identical input columns
[Package PTXQC version 1.1.1 Index]