print.safeframe {safeframe} | R Documentation |
Printing method for safeframe objects
Description
This function prints safeframe objects.
Usage
## S3 method for class 'safeframe'
print(x, ...)
Arguments
x |
a |
... |
further arguments to be passed to 'print' |
Value
Invisibly returns the object.
Examples
## 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"
)
}
[Package safeframe version 1.0.0 Index]