R/bin.R

Defines functions `bin`

`bin` <-
function(
	x,
	population=x,
	breaks=quantile(
		population,
		probs=probs,
		...
	),
	probs=c(0,0.25,0.5,0.75,1),
	include.lowest=TRUE,
	...
)table(
	cut(
		x,
		breaks=breaks,
		include.lowest=include.lowest,
		...
	)
)
metrumresearchgroup/metrumrg documentation built on May 22, 2019, 7:51 p.m.