Nov 14, 2019 in R Language
Q: Control the scales of Graph in R Language

1 Answer

0 votes
Nov 14, 2019

You can control the scale of the axis.

The function seq() is convenient when you need to create a sequence of number. The basic syntax is:

seq(begin, last, by = x)
- begin: First number of the sequence
- last: Last number of the sequence
- by= x: The step. For instance, if x is 2, the code adds 2 to `begin-1` until it reaches `last`	

For instance, if you want to create a range from 0 to 12 with a step of 3, you will have four numbers, 0 4 8 12

seq(0, 12,4)

Related questions

+2 votes
Jul 28, 2019 in R Language
0 votes
Nov 14, 2019 in R Language