MakeCenters: Create a vector of kernel centers covering [LB, UB].

Description Usage Arguments Value

Description

Make the spacing as large as possible without going over width. If symmetric, ensure we have an even number of centers that are symmetric around PoS.

Usage

1
MakeCenters(LB, UB, width, minspace, PoS = NULL)

Arguments

LB

The lower bound.

UB

The upper bound.

width

The maximum possible spacing.

minspace

The minimum allowable spacing.

PoS

Point of symmetry (default NULL)

Value

A vector of kernel centers.


scdensity documentation built on May 1, 2019, 10:26 p.m.