print.cornet: Combined regression

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Prints summary of cornet object.

Usage

1
2
## 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

1
2
3
4
5
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)

cornet documentation built on April 19, 2021, 9:07 a.m.