InitializeP: Initialize the list of problem-related objects.

View source: R/weightedKDE.R

InitializePR 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.


scdensity documentation built on Sept. 12, 2024, 7:35 a.m.