set.options {DCSmooth} | R Documentation |

## Set Options for the DCS procedure

### Description

Set Options for the DCS procedure

### Usage

```
set.options(
type = "LP",
kerns = c("MW_220", "MW_220"),
drv = c(0, 0),
var_model = "iid",
...
)
```

### Arguments

`type` |
either local polynomial regression ( |

`kerns` |
a character vector of length 2 containing the identifier for the
kernels to be used in kernel regression. Weighting functions in local
polynomial regression are computed according to the identifier. Default value
is |

`drv` |
A non-negative vector of length 2, containing the derivative
orders to be estimated from the given data. The default is |

`var_model` |
the method of estimating the variance coefficient |

`...` |
Additional arguments passed to |

### Value

An object of class `"dcs_options"`

.

### Details

This function is used to set the options for bandwidth selection in the
`dcs`

function.
Detailed information can be found in the vignette.

### See Also

### Examples

```
# See vignette("DCSmooth") for examples and explanation
set.options()
myOpt <- set.options(type = "KR", var_model = "iid")
y <- y.norm1 + matrix(rnorm(101^2), nrow = 101, ncol = 101)
dcs(y, dcs_options = myOpt)
```

*DCSmooth*version 1.1.2 Index]