Add matrix to Slides
Usage
# S3 method for class 'matrix'
add_to_slides(
object,
presentation_id,
on = NULL,
object_id = new_id("table"),
digits = NULL,
overwrite = FALSE,
...
)
Arguments
- object
A matrix
- presentation_id
The id from the Slides presentation
- on
The id or number of the slide to add to
- object_id
A unique id for the table
- digits
the minimum number of significant digits, see format. If
NULL
getOption("digits")
is used.- overwrite
If TRUE and an object with
object_id
exists it will deleted and replaced.- ...
Not used in this method
Examples
if (FALSE) { # interactive()
# \donttest{
s <- choose_slides()
obj <- cov(iris[, 1:4])
add_to_slides(obj, s, on = 1)
# }
}