I was trying to convert the elements of a vector to different data types and got the following error message. I am wondering if there is a way to perform this type of data type