Learn R Programming

nda (version 0.2.4)

residuals.ndrlm: 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 ndrlm
residuals(object, ...)

Value

Residual values (data frame)

Arguments

object

an object of class 'ndrlm'.

...

further arguments passed to or from other methods.

Author

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

Run this code
# 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))

Run the code above in your browser using DataLab