get_kernel_start_support: Fill in missing kernel, start or support given the supplied...

Description Usage Arguments Details Value

View source: R/kdensity_helpers.R

Description

This function takes the supplied values of kernel, start, and support and fills in the non-supplied ones. It also handles inconsistencies, such as providing a support on (-Inf, Inf) but a kernel on (0, Inf).

Usage

1

Arguments

kernel

Supplied kernel; string or list.

start

Supplied parametric start; string or list.

support

Binary vector.

Details

The kernel and start parameters are either strings or adhering to the kernel/start list structure. support is a numeric vector of length two.

Value

a list with members kernel, kernel_str, start, start_str, and support.


JonasMoss/kdensity documentation built on March 20, 2018, 12:10 a.m.