Learn R Programming

DCSmooth (version 1.1.2)

residuals.dcs: Residuals of "dcs"-object

Description

Returns the residuals of an object of class "dcs".

Usage

# S3 method for dcs
residuals(x, ...)

Arguments

x

an object of class "dcs", usually the result of a call to dcs.

...

Additional arguments passed to residuals.dcs.

Value

Returns the \(n_x \times n_t\)-matrix of residuals.

See Also

dcs

Examples

Run this code
# NOT RUN {
y = y.norm1 + matrix(rnorm(101^2), nrow = 101, ncol = 101)
dcs_object = dcs(y)
residuals(dcs_object)

# }

Run the code above in your browser using DataLab