The seq() function generates a sequence. You can control the start and end values, as well as the desired length and step size.