InitializeP {scdensity}R Documentation

Initialize the list of problem-related objects.

Description

Initialize the list of problem-related objects.

Usage

InitializeP(x, h, constraints, method, opts)

Arguments

x

The data vector.

h

The bandwidth (a positive scalar).

constraints

The vector of constraint strings.

method

Either "weightedKDE" or "adjustedKDE".

Value

A list in the form needed by WeightedKDE(), with additional elements initialized to their default values.


[Package scdensity version 1.0.3 Index]