2414 search results for "twitteR"

Loops, Conditionals and Variables: A Basic Simulation in R

May 3, 2011
By
Loops, Conditionals and Variables: A Basic Simulation in R

In this post, I’m going to go over some basics of using conditionals and loops in R. I’ll expand on the example I use here in future posts. The conditionals and loops will be used to create some dummy eye movement data. Background Before I get into the actual code itself, I should probably explain

Read more »

R and the Data Science Toolkit

May 2, 2011
By
R and the Data Science Toolkit

I recently decided to present a talk to the Denver R Users Group (DRUG) on how to make an R package (May 17). There were only two problems: (1) I’ve never made a package and (2) I had nothing in mind … Continue reading →

Read more »

Another review of Introducing … R

May 2, 2011
By
Another review of Introducing … R

The March 2011 issue of JASA contains a review of Introducing Monte Carlo Methods with R by Hedibert Lopes. As in the previous review, the poor quality of the figures is (rightly) pointed out by Hedie. However, the main message of the review remains very positive and, furthermore, Hedie advertises the ‘Og itself in the

Read more »

ARMA Models for Trading, Part III

May 2, 2011
By
ARMA Models for Trading, Part III

In the last post I showed how to pick the parameters for the ARMA model. The next step is to determine the position at the close. One way to do that is by a one day ahead prediction, if the prediction comes negative (remember the series we are operating on is the daily returns) then

Read more »

Sustainable Futures conference in Manchester

Sustainable Futures conference in Manchester

Recently, Kevin Ummel gave a short conference about his PhD research at the Sustainable futures – Tyndall Centre researchers’ international conference. His work, named “Optimizing worldwide deployment of wind and solar power technologies via a high resolution, linear programming model”, is built with R. He is using the solaR package for the solar irradiance calculations,

Read more »

Postdoc on adaptive MCMC in Paris

May 2, 2011
By
Postdoc on adaptive MCMC in Paris

Although the official deadline is long past, I just became aware of this call for a postdoctoral position in Paris starting next Fall. Please feel free to apply: Summary Adaptive Markov Chain Monte Carlo (MCMC) methods are currently a very active field of research. MCMC methods are sampling methods, based on Markov Chains which are

Read more »

Here comes the sun

Here comes the sun

The solar irradiance incident outside the earth’s atmosphere is called the extraterrestial or extra-atmospheric irradiance. It is derived from the solar constant only with geometric equations. It can be easily calculated with the calcSol function of the solaR package. With this post I will show an example with some packages from the Spatial task view.

Read more »

Bayesian Confidence Intervals: Obama’s ‘That’-Addition and Informality

May 1, 2011
By
Bayesian Confidence Intervals: Obama’s ‘That’-Addition and Informality

No “That” Left Behind? I came across a post on Language Log last week giving some evidence that Obama tends to add that to the prepared version of his speeches. For example, in a recent speech at George Washington University, … Continue reading →

Read more »

Friday function triple bill: with vs. within vs. transform

April 29, 2011
By
Friday function triple bill: with vs. within vs. transform

When you first learnt about data frames in R, I’m sure that, like me, you thought “This is a lot of hassle having to type the names of data frames over and over in order to access each column”. library(MASS) anorexia$wtDiff <- anorexia$Postwt - anorexia$Prewt #I have to type anorexia how many times? Indeed, any

Read more »

RStudio is good for you

April 29, 2011
By
RStudio is good for you

I was recently introduced to RStudio, a new integrated development environment for R, it is just amazing! It is free, and open, compatible with PC/Mac/Linux OSs. You can also choose to run it in the cloud, and access it from your favorite web browser. As you can see, the window divides into four in a

Read more »