Learn R Programming

scdensity (version 1.0.3)

InitializeP: Initialize the list of problem-related objects.

Description

Initialize the list of problem-related objects.

Usage

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

Value

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

Arguments

x

The data vector.

h

The bandwidth (a positive scalar).

constraints

The vector of constraint strings.

method

Either "weightedKDE" or "adjustedKDE".