Learn R Programming

sparselink (version 1.0.0)

print.sparselink: Print sparselink object

Description

Prints an object of class sparselink

Usage

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

Value

Returns NULL. Writes information on the sparselink-object to the console.

Arguments

x

object of class sparselink (generated by function sparselink)

...

(not applicable)

Examples

Run this code
n <- 100; p <- 50; q <- 3
family <- "gaussian"
x <- matrix(data=rnorm(n=n*p),nrow=n,ncol=p)
y <- matrix(data=rnorm(n*q),nrow=n,ncol=q)
object <- sparselink(x=x,y=y,family=family)
object

Run the code above in your browser using DataLab