Cast a tidyrisk_factor vector to a specified type

# S3 method for tidyrisk_factor
vec_cast(x, to)

Arguments

x

Vectors to cast.

to

Type to cast to. If NULL, x will be returned as is.