R/bin.R

`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,
		...
	)
)

Try the metrumrg package in your browser

Any scripts or data that you put into this service are public.

metrumrg documentation built on May 2, 2019, 5:55 p.m.