<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6576681508814660796.post2718852050935862271..comments</id><updated>2011-02-19T17:59:22.489-05:00</updated><category term='ruby'/><category term='me'/><category term='document collaboration'/><category term='pixel perfect'/><category term='next level'/><category term='soccer'/><category term='retrospective'/><category term='collaboration'/><category term='cricket'/><category term='development'/><category term='team location'/><category term='india'/><category term='open source'/><category term='following'/><category term='hiring'/><category term='leading'/><category term='scrum'/><category term='war for talent'/><category term='SAS'/><category term='agile'/><category term='Gephi'/><category term='onshore'/><category term='offshore'/><category term='design'/><category term='vrp'/><category term='fun'/><category term='Strataconf'/><category term='product customizations'/><category term='learning'/><category term='high performing teams'/><category term='Social Network Analysis'/><category term='R'/><category term='vehicle routing problem'/><title type='text'>Comments on Enterprise Software Doesn't Have to Suck: Stata or R - How to create dynamic variables in R?...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.rcasts.com/feeds/2718852050935862271/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6576681508814660796/2718852050935862271/comments/default'/><link rel='alternate' type='text/html' href='http://www.rcasts.com/2011/02/stata-or-r-how-to-create-dynamic.html'/><author><name>prasoonsharma</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6576681508814660796.post-58314078226496970</id><published>2011-02-19T17:59:22.489-05:00</published><updated>2011-02-19T17:59:22.489-05:00</updated><title type='text'>Assuming popA1989, popB1989 ... already exist in d...</title><content type='html'>Assuming popA1989, popB1989 ... already exist in data.frame dat.&lt;br /&gt;&lt;br /&gt;require(stringr)&lt;br /&gt;pop &amp;lt;- LETTERS[1:4]&lt;br /&gt;years &amp;lt;- 1990:2000&lt;br /&gt;&lt;br /&gt;for(i in years){&lt;br /&gt;  dat[str_c(str_c(&amp;quot;pop&amp;quot;,pop),i)] &amp;lt;- dat[str_c(str_c(&amp;quot;pop&amp;quot;,pop),i-1)]*(1+dat[rep(str_c(&amp;quot;trend&amp;quot;,i-1),length(pop))])&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6576681508814660796/2718852050935862271/comments/default/58314078226496970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6576681508814660796/2718852050935862271/comments/default/58314078226496970'/><link rel='alternate' type='text/html' href='http://www.rcasts.com/2011/02/stata-or-r-how-to-create-dynamic.html?showComment=1298156362489#c58314078226496970' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.rcasts.com/2011/02/stata-or-r-how-to-create-dynamic.html' ref='tag:blogger.com,1999:blog-6576681508814660796.post-2718852050935862271' source='http://www.blogger.com/feeds/6576681508814660796/posts/default/2718852050935862271' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1534793954'/></entry></feed>
