Cut but automatically include min and max data's value

kut(x, breaks, ...)

Arguments

x

a numeric vector which is to be converted to a factor by cutting.

breaks

either a numeric vector of two or more unique cut points or a single number (greater than or equal to 2) giving the number of intervals into which x is to be cut.

...

further arguments passed to or from other methods.