type {safeframe} | R Documentation |
Type Selection Helper
Description
Function to swiftly provide access to generic categories of types within R.
These can be used to provide comprehensive typesetting when creating a
safeframe
object.
Usage
type(x)
Arguments
x |
Character indicating the desired type. Options include |
Value
A vector of classes
Examples
x <- make_safeframe(cars,
mph = "speed",
distance = "dist"
)
validate_types(
x,
mph = type("numeric"),
distance = "numeric"
)
[Package safeframe version 1.0.0 Index]