bw_simple: Create simple bandwidth object

Description Usage Arguments Details Examples

View source: R/bandwidth_selection.R

Description

Create a simple bandwidths object for local Gaussian correlations

Usage

1
bw_simple(joint = 1, marg = NA, x = NULL, dim = NULL)

Arguments

joint

Joint bandwidth

marg

Marginal bandwidths

x

The data set

dim

The number of variables

Details

This function provides a quick way of producing a bandwidth object that may be used in the lg_main()-function. The user must specify a bandwidth joint that is used for all joint bandwidths, and the user may specify marg, a marginal bandwidth that will be used for all marginal bandwidths. This is needed if the subsequent analyses use est_method = "5par_marginals_fixed".

The function must know the dimension of the problem, which is achieved by either supplying the data set x or the number of variables dim.

Examples

1
  bw_object <- bw_simple(joint = 1, marg = 1, dim = 3)

lg documentation built on Dec. 5, 2019, 5:13 p.m.

Related to bw_simple in lg...