hgrid: Returns a grid of smoothing parameter values

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns a grid of smoothing parameter values for kernel estimates, either with a logarithmic spacing, or with equal spacing, in decreasing order.

Usage

1
hgrid(h1, h2, lkm, base = 10)

Arguments

h1

the lowest smoothing parameter value

h2

the largest smoothing parameter value

lkm

the number of smoothing parameters in the grid

base

the base of the logarithm, used in the logarithmic spacing, if NULL, then the equal spacing is applied

Value

a vector of smoothing parameters

Author(s)

Jussi Klemela

See Also

lstseq.kern, branchmap, modegraph, exmap

Examples

1
2
3
4
5
6
h1<-0.9
h2<-2.2
lkm<-5
hseq<-hgrid(h1,h2,lkm)

hseq<-hgrid(h1,h2,lkm,base=NULL)


Search within the denpro package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.