Learn R Programming

Rmagic (version 2.0.3)

print.magic: Print a MAGIC object

Description

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

Usage

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

Arguments

x

A fitted MAGIC object

...

Arguments for print()

Examples

Run this code
# NOT RUN {
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)

}
# }

Run the code above in your browser using DataLab