View source: R/utility_functions.R
as_type | R Documentation |
Convert a vector to a specific type
as_type(x, type)
x |
a vector |
type |
the type to convert the vector to |
This function is used to convert a vector to a specific type, for instance where variables need to match types in joins.
a vector of with the values of x
and the same type as type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.