type | R Documentation |
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.
type(x)
x |
Character indicating the desired type. Options include |
A vector of classes
x <- make_safeframe(cars,
mph = "speed",
distance = "dist"
)
validate_types(
x,
mph = type("numeric"),
distance = "numeric"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.