What means "coercion" in R and what are the rules?
Converting objects from one class to another is called coercion.
Rules:
numeric+character= character
xx<-c(1,"hi")
logical+character= character
yy<-c(TRUE, "hi")
numeric+logical=numeric
zz<-c(1, TRUE)
The ordering is roughly logical < integer < numeric < complex < character < list