| print.orthoMTL | R Documentation |
Displays a compact summary of a fitted orthoMTL model.
## S3 method for class 'orthoMTL'
print(x, ...)
x |
A fitted model object of class |
... |
Additional arguments (currently ignored). |
Invisibly returns x.
set.seed(42)
n <- 100; p <- 10; n_tasks <- 3
X <- matrix(rnorm(n * p), n, p)
Y <- X %*% matrix(rnorm(p * n_tasks), p) + matrix(rnorm(n * n_tasks), n) * 0.1
fit <- orthoMTL(X, Y, lambda = 1e-3)
print(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.