R Programming

Posted by ECON爱好者 on September 25, 2016

R Programming

### RProgrammingForResearch

Logical Indexing

v[v>0]

v[confidence >0]

v[v>confidence]

v[v<0] = c(100, 200) # recycling

v[v<0] = v[v<0] + c(100, 200) # recycling

Matrix A

A[]

works for Matlab too.

Googlevis

Analyzing World Bank data with WDI, googleVis Motion Charts