

   CCoommppuuttee bbiivvaarriiaattee AASSHH eessttiimmaattee ((pprroodduucctt ppoollyynnoommiiaall kkeerrnneell))

        ash2(bins, m, kopt)

   AArrgguummeennttss::

       bins: (input list) bin count matrix nc and interval
             matrix  ab from `bin2'

          m: (input integer vector of length 2) x and y direc-
             tion smoothing parameters. Default is 5 by 5.

   VVaalluuee::

        Matrix of ASH estimates returned.  Components x,y,z can
        be given to the contour function directly.  Other input
        variables returned in list for record keeping.

   SSeeee AAllssoo::

        `bin2'

   EExxaammpplleess::

        # Continuing example from help(bin2)
        m <- c(5,5)
        f <- ash2(bins,m)
        image(f$x,f$y,f$z)
        contour(f$x,f$y,f$z,add=T)

        # Continuing example from help(bin2)
        m <- c(5,5)
        f <- ash2(bins,m)
        image(f$x,f$y,f$z)
        contour(f$x,f$y,f$z,add=T)

