
ash1(bins, m, kopt)
$nc
=integer vector of bin counts and $ab
=bin interval
plot
dd
bin1
x <- rnorm(100) # data
f <- ash1(bin1(x,nbin=50),5) # compute ash estimate
plot( f , type="l" ) # line plot of estimate
Run the code above in your browser using DataLab