772 search results for "how to import image file to r"

Generating Twitter Wordclouds in R (Prompted by an Open Learning Blogpost)

February 15, 2012
By
Generating Twitter Wordclouds in R (Prompted by an Open Learning Blogpost)

A couple of weeks ago I saw a great example of an open learning blogpost from @katy_bird: Generating a word cloud (or not) from a Twitter hashtag. It described the trials and tribulations associated with trying to satisfy a request for the generation of a wordcloud based on tweets associated with a specific Twitter hashtag.

Read more »

If you have to use circles…

February 15, 2012
By
If you have to use circles…

Stats Chat is an interesting kiwi site—managed by the Department of Statistics of the University of Auckland—that centers around the use and presentation of statistics in the media. This week there was an interesting discussion on one of those infographics … Continue reading →

Read more »

Pricing defaultable discount bond with reduced form model

February 14, 2012
By
Pricing defaultable discount bond with reduced form model

I often use R language to write "prototype" program. As you know, It has very high productivity and smart grammar. In this article, I would like to show you how to write the program to evaluate the price of defaultable bond by "reduced-form model".Before write a program, we need to understand how to price these bond.Under risk neutral measure, we can...

Read more »

RStudio in the cloud, for dummies

February 13, 2012
By
RStudio in the cloud, for dummies

You can have your own cloud computing version of R, complete with RStudio. Why should you? It's cool! Plus, there's a lot more power out there than you can easily get on your own hardware. And, it's R in a web page. Run it from your tablet. Run i...

Read more »

R jags rjags on an ec2 instance

February 11, 2012
By

Winbugs and Jags free Item Response Theory from the dot matrix plots of proprietary software and open up a multicoloured world of posterior predictive model checking. Fitting IRT models using brute force is not for the impatient, however. That’s why, just as early psychometricians shipped off their calculations to teams of monks. I’ve shipped off my model fitting to...

Read more »

Revisiting homicide rates

February 10, 2012
By
Revisiting homicide rates

A pint of R plotted an interesting dataset: intentional homicides in South America. I thought the graphs were pretty but I was unhappy about the way information was conveyed in the plots; relative risk should be very important but number … Continue reading →

Read more »

Visualising the Metropolis-Hastings algorithm

February 10, 2012
By
Visualising the Metropolis-Hastings algorithm

In a previous post, I demonstrated how to use my R package MHadapive to do general MCMC to estimate Bayesian models. The functions in this package are an implementation of  the Metropolis-Hastings algorithm. In this post, I want to provide an intuitive way to picture what is going on ‘under the hood’in this algorithm. The

Read more »

What is the Potential Audience Size for a Hashtag Community?

February 8, 2012
By
What is the Potential Audience Size for a Hashtag Community?

What’s the potential audience size around a Twitter hashtag? Way back when, in the early days of webs stats, reported figures tended to centre around the notion of hits, the number of calls made to a server via website activity. I forget the details, but the metric was presumably generated from server logs. This measure

Read more »

rjags

February 5, 2012
By

Running 64 bit R, JAGS and rjags on EC2Winbugs and Jags free Item Response Theory from the dot matrix plots of proprietary software and open up a multicoloured world of posterior predictive model checking. Fitting IRT models using brute force is not ...

Read more »

the Art of R Programming [guest post]

January 30, 2012
By
the Art of R Programming [guest post]

(This post is the preliminary version of a book review by Alessandra Iacobucci, to appear in CHANCE. Enjoy !) As Rob J. Hyndman enthusiastically declares in his blog, “this is a gem of a book”. I would go even further and argue that The Art of R programming is a

Read more »