Learn R Programming

DCSmooth

Overview

DCSmooth provides functions for fast nonparametric estimation of the trend surface of a functional or spatial model. Regression types included are kernel regression and local polynomial regression. An automatic bandwidth selector is included.

Installation

You can install the released version of DCSmooth from CRAN with:

install.packages("DCSmooth")
## Example

This basic example shows the two-dimensional estimation of a single gaussian peak
function (in `y.norm1`).


```r
library(DCSmooth)

# simulated data
y = y.norm1 + matrix(rnorm(101^2), nrow = 101, ncol = 101)

# smooth trend surface
y_dcs = dcs(y)
plot(y_dcs, plot_choice = 2)
# surface.dcs(y_dcs, plot_choice = 2)

Details

For a detailed description, see the vignette of this package.

vignette("DCSmooth")

Copy Link

Version

Install

install.packages('DCSmooth')

Monthly Downloads

40

Version

1.1.2

License

GPL-3

Maintainer

Bastian Schaefer

Last Published

October 21st, 2021

Functions in DCSmooth (1.1.2)

plot.dcs

Contour Plot for the Double Conditional Smoothing
surface.dcs

3D Surface Plot of "dcs"-object or numeric matrix
summary.sarma

Summarizing SARMA/SFARIMA Estimation or Simulation
kernel.list

Print a list of available kernels in the DCSmooth package
kernel.assign

Assign a Kernel Function
sarma.sim

Simulation of a \(SARMA(p, q)\)-process
set.options

Set Options for the DCS procedure
print.summary_sarma

Print the Summary of a "sarma"/"sfarima" object
residuals.dcs

Residuals of "dcs"-object
sfarima.est

Estimation of a SFARIMA-process
print.dcs_options

Print and Summarize Options for Double Conditional Smoothing
wind.yuma

Wind Speed from Yuma, AZ
print.summary_dcs

Print the Summary of a DCS estimation
sfarima.sim

Simulation of a \(SFARIMA(p, q, d)\)-process
y.norm1

Single Gaussian Peak
DCSmooth-package

DCSmooth
dcs

Nonparametric Double Conditional Smoothing for 2D Surfaces
returns.alv

Returns of Allianz SE
temp.nunn

Temperatures from Nunn, CO
temp.yuma

Temperatures from Yuma, AZ
sarma.est

Estimation of an SARMA-process
wind.nunn

Wind Speed from Nunn, CO
summary.dcs_options

Print and Summarize Options for Double Conditional Smoothing
summary.dcs

Summarizing Results from Double Conditional Smoothing
volumes.alv

Volumes of Allianz SE
y.norm3

Double Gaussian Ridges
y.norm2

Double Gaussian Peak
print.dcs

Summarize Results from Double Conditional Smoothing