residuals.ndrlm: Calculation of residual values of Generalized Network-based...

View source: R/residuals.ndrlm.R

residuals.ndrlmR Documentation

Calculation of residual values of Generalized Network-based Dimensionality Reduction and Linear Regression Model (NDRLM)

Description

Calculation of residual values of Generalized Network-based Dimensionality Reduction and Linear Regression Model (NDRLM)

Usage

## S3 method for class 'ndrlm'
residuals(object, ...)

Arguments

object

an object of class 'ndrlm'.

...

further arguments passed to or from other methods.

Value

Residual values (data frame)

Author(s)

Zsolt T. Kosztyan*, Marcell T. Kurbucz, Attila I. Katona

e-mail*: kosztyan.zsolt@gtk.uni-pannon.hu

References

KosztyƔn, Z. T., Katona, A. I., Kurbucz, M. T., & Lantos, Z. (2024). Generalized network-based dimensionality analysis. Expert Systems with Applications, 238, 121779. <URL: https://doi.org/10.1016/j.eswa.2023.121779>.

See Also

plot, print, ndrlm.

Examples

# Example of residual function of NDRLM without optimization of fittings

X<-freeny.x
Y<-freeny.y
NDRLM<-ndrlm(Y,X,optimize=FALSE)

# Normality test for residuals
shapiro.test(residuals(NDRLM))

kzst/nda documentation built on Dec. 16, 2024, 7:02 a.m.