print.SDAM: Print SDAM

View source: R/print.R

print.SDAMR Documentation

Print SDAM

Description

Print number of covariates and number of active covariates for SDAM object.

Usage

## S3 method for class 'SDAM'
print(x, ...)

Arguments

x

Fitted object of class SDAM.

...

Further arguments passed to or from other methods.

Value

No return value, called for side effects

Author(s)

Cyrill Scheidegger

See Also

SDAM

Examples


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)

SDModels documentation built on April 11, 2025, 5:50 p.m.