Coercion happens with data types in R, often implicitly, so that the data can accommodate all the values. For example,
x = 1:3
x
[1] 1 2 3
typeof(x)
#[1] "integer"
x[2] = "hi"
x
#[1] "1" "hi" "3"
typeof(x)
#[1] "character"
...