R/hplot.R

"hplot" <-

function(x, breaks="Sturges", freq=FALSE, nclass=NULL, col=8, ...)



{



	if ( is.null(nclass) )



		hist(x, breaks=breaks, freq, col=col, ...)



	else

	

		hist(x, breaks=seq(min(x),max(x),length=nclass+1), freq, col=col, ...)



}

Try the Rlab package in your browser

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

Rlab documentation built on May 5, 2022, 1:05 a.m.