thinOutBatch: Apply 'thinOut' on all subsets of a data.frame, split by a...

View source: R/fcn_misc.R

thinOutBatchR Documentation

Apply 'thinOut' on all subsets of a data.frame, split by a batch column

Description

The binsize is computed from the global data range of the filter column by dividing the range into binCount bins.

Usage

thinOutBatch(data, filterColname, batchColname, binCount = 1000)

Arguments

data

The data.frame to be split and filtered(thinned)

filterColname

Name of the filter column as string

batchColname

Name of the split column as string

binCount

Number of bins in the 'filterColname' dimension.

Value

Data.frame with reduced rows, but identical input columns


cbielow/PTXQC documentation built on March 13, 2024, 5:08 a.m.