categoryCuts: Count the number of occurances inside a range

Description Usage Arguments Value

Description

Count the number of occurances inside a range

Usage

1
2
categoryCuts(xx, ranges = list(OtoC = c(0, 1)), inclusive = list(OtoC =
  c(TRUE, TRUE)), na.rm = TRUE)

Arguments

xx

a dataframe with names matching those in ranges and inclusive. Values within range to be counted

ranges

a list of arrays of length 2 with the (min, max) cut off values

inclusive

a list of arrays of length 2 with the flags to include (lower, upper) cut off values in rante

na.rm

ignore na values

Value

a count times the value in xx fell within range of interest


ktoddbrown/FTICR_Processing documentation built on May 20, 2019, 7:05 p.m.