powered by
Derives the mode, estimating the value of a continuous variable.
calcmode(data,adjust=1)
vector used to estimate the mode.
increase this value to make the density estimate smoother.
Returns the numeric value of the mode.
# NOT RUN { vect1 = rchisq(1000,df=3) calcmode(vect1) vect1 # }
Run the code above in your browser using DataLab