Relative Content

Tag Archive for rmethodssyntaxoutputsequence

sequence function in R

I am using sequence function in R. While it gives correct output for positive numbers when used input is given using ‘:’, I am not sure why does the following 2 ways produce different outputs (when input starts with negative integer in ‘:’ format):