Learn R Programming

applicable (version 0.1.0)

print.apd_similarity: Print number of predictors and principal components used.

Description

Print number of predictors and principal components used.

Usage

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

Value

None

Arguments

x

A apd_similarity object.

...

Not currently used, but required for extensibility.

Examples

Run this code

set.seed(535)
tr_x <- matrix(
  sample(0:1, size = 20 * 50, prob = rep(.5, 2), replace = TRUE),
  ncol = 20
 )
model <- apd_similarity(tr_x)
print(model)

Run the code above in your browser using DataLab