% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mf_distr.R
\name{mf_distr}
\alias{mf_distr}
\title{Plot a distribution}
\usage{
mf_distr(x, nbins, bw)
}
\arguments{
\item{x}{a numeric variable}

\item{nbins}{number of bins in the histogram}

\item{bw}{bandwidth of the density curve}
}
\value{
The number of bins of the histogram and the bandwidth of the density
curve are (invisibly) returned in a list.
}
\description{
This function displays a histogram, a box plot, a strip chart
and a density curve on the same plot.
}
\examples{
(mf_distr(rnorm(1000)))
mf_distr(rbeta(1000, .6, 7))
mf_distr(rbeta(1000, 5, .6))
}
