Just to build a bit on the previous answer: while it is correct that seq(1, 10) and seq(1:10) are equivalent in result I don't think that combining colon operator and seq() function is the best of practices.
The reason is that in the seq(1:10) the sequence is generated in the 1:10 call, and the seq around it just wraps itin another sequence of length one.
To illustrate the point consider this seq(1:10, by = 2) which clearly is not equivalent to seq(1, 10, by = 2).
While it is to a certain extent a matter of style & taste I suggest sticking to the colon operator when an integer sequence of step one is desired.