We can't combine strings and numbers in one vector, but what about different kinds of numbers, such as integer and decimal?

[1] 1.10 3.14 555.00[1] 1.10 3.14 555

Woah, good job! If we add an integer to a decimal vector, R will automatically change it's type to decimal. This is called type coercion.

Psst: type coercion happens when there are values of different types. R converts to a type that works for all cases and doesn't lose any data.

Maybe all of the numbers have to be the same decimal type?