Learn R Programming

deseats (version 1.1.0)

order_poly,smoothing_options-method: Retrieve or Set Smoothing Options

Description

Retrieve smoothing options from or set them in an object of class "smoothing_options".

Usage

# S4 method for smoothing_options
order_poly(object)

# S4 method for smoothing_options order_poly(object) <- value

# S4 method for smoothing_options season(object)

# S4 method for smoothing_options season(object) <- value

# S4 method for smoothing_options kernel_fun(object)

# S4 method for smoothing_options kernel_fun(object) <- value

# S4 method for smoothing_options bwidth(object)

# S4 method for smoothing_options bwidth(object) <- value

# S4 method for smoothing_options boundary_method(object)

# S4 method for smoothing_options boundary_method(object) <- value

Value

The methods without <- return the corresponding settings in the supplied object. The methods with <- set the corresponding option in the provided object.

Arguments

object

an object of class "smoothing_options".

value

the value to set the corresponding option to.

Author

  • Dominik Schulz (Research Assistant) (Department of Economics, Paderborn University),
    Author and Package Creator

Details

Various methods are provided to either retrieve smoothing option settings from an object of class "smoothing_options" or to adjust them within such an object.

Examples

Run this code
opts <- set_options()
opts
order_poly(opts)
order_poly(opts) <- 3
opts

Run the code above in your browser using DataLab