print: Print a MAGIC object

Description Usage Arguments Examples

Description

This avoids spamming the user's console with a list of many large matrices

Usage

1
2
## S3 method for class 'magic'
print(x, ...)

Arguments

x

A fitted MAGIC object

...

Arguments for print()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
if (pymagic_is_available()) {

data(magic_testdata)
data_magic <- magic(magic_testdata)
print(data_magic)
## MAGIC with elements
## $result : (500, 197)
## $operator : Python MAGIC operator
## $params : list with elements (data, knn, decay, t, npca, knn.dist.method)

}

Rmagic documentation built on Nov. 21, 2019, 5:07 p.m.