print.cornet: Combined regression

View source: R/functions.R

print.cornetR Documentation

Combined regression

Description

Prints summary of cornet object.

Usage

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

Arguments

x

cornet object

...

further arguments (not applicable)

Value

Returns sample size n, number of covariates p, information on dichotomisation, tuned scaling parameter (sigma), tuned weighting parameter (pi), and corresponding loss.

Examples

n <- 100; p <- 200
y <- rnorm(n)
X <- matrix(rnorm(n*p),nrow=n,ncol=p)
net <- cornet(y=y,cutoff=0,X=X)
print(net)


rauschenberger/cornet documentation built on Aug. 15, 2023, 4:14 a.m.