powered by
Print number of covariates and number of active covariates for SDAM object.
# S3 method for SDAM print(x, ...)
No return value, called for side effects
Fitted object of class SDAM.
SDAM
Further arguments passed to or from other methods.
Cyrill Scheidegger
set.seed(1) X <- matrix(rnorm(10 * 5), ncol = 5) Y <- sin(X[, 1]) - X[, 2] + rnorm(10) model <- SDAM(x = X, y = Y, Q_type = "trim", trim_quantile = 0.5, nfold = 2, n_K = 1) print(model)
Run the code above in your browser using DataLab