Learn R Programming

starnet (version 0.0.7)

print.starnet: Print Values

Description

Prints object of class starnet.

Usage

# S3 method for starnet
print(x, ...)

Value

Prints "stacked gaussian/binomial/poisson elastic net".

Arguments

x

starnet object

...

further arguments (not applicable)

Examples

Run this code
# \dontshow{
if(!grepl('SunOS',Sys.info()['sysname'])){
set.seed(1)
n <- 50; p <- 100
y <- rnorm(n=n)
X <- matrix(rnorm(n*p),nrow=n,ncol=p)
object <- starnet(y=y,X=X)
print(object)}# }
# \donttest{
set.seed(1)
n <- 50; p <- 100
y <- rnorm(n=n)
X <- matrix(rnorm(n*p),nrow=n,ncol=p)
object <- starnet(y=y,X=X)
print(object)# }

Run the code above in your browser using DataLab