View source: R/print.safeframe.R
print.safeframe | R Documentation |
This function prints safeframe objects.
## S3 method for class 'safeframe'
print(x, ...)
x |
a |
... |
further arguments to be passed to 'print' |
Invisibly returns the object.
## create safeframe
x <- make_safeframe(cars,
mph = "speed",
distance = "dist"
)
## print object - using only the first few entries
head(x)
# version with a tibble
if (require(tibble) && require(magrittr)) {
cars %>%
tibble() %>%
make_safeframe(
mph = "speed",
distance = "dist"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.