Skip to contents

Print a weights_result object

Usage

# S3 method for class 'weights_result'
print(x, ...)

Arguments

x

A weights_result object created by weights_matrix().

...

Not used.

Value

x, invisibly.

Examples

set.seed(1)
x_mat <- matrix(rnorm(20), 10, 2)
out <- weights_dnn_exact(x_mat, x0 = c(0, 0), k = 1L, s = 1L)
print(out)
#> <weights_result>
#>   data  : n=10, p=2, m=1
#>   weight: rank (dnn_exact[k=1,s=1])