View source: R/gt_admix_methods.R
summary.gt_admix | R Documentation |
Summary method for gt_admix objects
## S3 method for class 'gt_admix'
summary(object, ...)
object |
a |
... |
unused (necessary for compatibility with generic function) |
A summary of the gt_admix
object
# run the example only if we have the package installed
if (requireNamespace("LEA", quietly = TRUE)) {
example_gt <- load_example_gt("gen_tbl")
# Create a gt_admix object
admix_obj <- example_gt %>% gt_snmf(k = 1:3, project = "force")
# Print a summary
summary(admix_obj)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.