# r command for regression 

x=c(2005, 2006,2007,2008,2009,2010)
y=c(12, 19,29,37,45,54)

yx=lm(y~x)
xy=lm(x~y)

print(yx)

print(xy)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: