plotting a line graph, Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ
<p>hi guys I'm new in R and I'm trying to plot a line graph but it gives me this problem:</p>

<pre><code>e_60_f_1900_2030&lt;- c(e_60_f, e_60_f_2010_2030)
years&lt;- seq(1900, 2030, 1)
plot(e_60_f_1900_2030, years)
Error in xy.coords(x, y, xlabel, ylabel, log) : 
 'x' and 'y' lengths differ
</code></pre>

<p>I don't know how to solve it, how I can plot them even if they have different lengths?</p>

<p>thanks</p>