Skip to contents

Discretize Continuous Variable by Size Categories

Usage

cut_size(x, breaks = c(20, 50))

Arguments

x

Numeric vector (typically tumor size)

breaks

Numeric vector of breakpoints. Default: c(20, 50)

Value

Integer vector with category codes