get_casted_vector: get_casted_vector
Description
casts a vector depending on its type and input
Usage
get_casted_vector(colin, colname, whichdat)
Arguments
- colin
column to cast
- colname
name of vector
- whichdat
whether base or compare is being casted (used for messages)