2955 search results for "ggplot"

Two interesting ideas here: “trading time” price impact of a…

October 29, 2013
By
Two interesting ideas here:
“trading time”
price impact of a…

Two interesting ideas here: "trading time" price impact of a trade proportional to exp( √size ) Code follows: require(quantmod) getSymbols("MER") #Merrill Lynch #Gatheral's model HiLo Op(symbol) #munging mer names(mer) = "UpDay"names(mer) = "HiLo" mer ...

Read more »

Two interesting ideas here: “trading time” price impact of a…

October 29, 2013
By
Two interesting ideas here:
“trading time”
price impact of a…

Two interesting ideas here: "trading time" price impact of a trade proportional to exp( √size ) Code follows: require(quantmod) getSymbols("MER") #Merrill Lynch #Gatheral's model HiLo Op(symbol) #munging mer names(mer) = "UpDay"names(mer) = "HiLo" mer ...

Read more »

Forecasting the number of visitors on your website using R. Part II

October 29, 2013
By
Forecasting the number of visitors on your website using R. Part II

This blog is the second post of a series of three blogs. Previous Blog Implementing the time-series exponential smoothing in R: I have used the HoltWinters (also a function in the forecasting package of R ) model to implement the exponential smoothing on the visitors data. This model will take care of the Seasonality, Trend,

Read more »

Anand versus Carlsen – Chennai 2013 – What can we expect in November?

October 28, 2013
By
Anand versus Carlsen – Chennai 2013 – What can we expect in November?

This year, the world chess championship will be played between Vishwanathan Anand and 22-yo Magnus Carlsen, in Chennai, India from the 9th to the 28th of November. The passions are sure to run strong. Both GMs have ardent supporters. Carlsen is in a dr...

Read more »

Alternative to Grouped Bar Charts in R

October 27, 2013
By
Alternative to Grouped Bar Charts in R

The #spiffy @dseverski gave me this posit the other day: Hey, @hrbrmstr, doughnut chart aside, how would you approach the first graph at http://t.co/zjHoHRVOeo? Bump chart? Trend line? Leave as is?— David F. Severski (@dseverski) October 25, 2013 and, I...

Read more »

Table as an Image in R

October 24, 2013
By
Table as an Image in R

Usually, it's best to keep tables as text, but if you're making a lot of graphics, it can be helpful to be able to create images of tables.PNG tableCreating the TableAfter loading the data, let's first use this trick to put line breaks between the leve...

Read more »

The Basics of Encoding Categorical Data for Predictive Models

October 23, 2013
By
The Basics of Encoding Categorical Data for Predictive Models

Thomas Yokota asked a very straight-forward question about encodings for categorical predictors: "Is it bad to feed it non-numerical data such as factors?" As usual, I will try to make my answer as complex as possible. (I've heard the old wives tale that eskimos have 180 different words in their language for snow. I'm starting to think that statisticians have...

Read more »

New R package: scholar

October 23, 2013
By
New R package: scholar

My new R package, scholar, has just been posted on CRAN. The scholar package provides functions to extract citation data from Google Scholar. In addition to retrieving basic information about a single scholar, the package also allows you to compare multiple scholars and predict future h-index values. There’s a full guide on Github (along

Read more »

Time series plots in R

October 23, 2013
By
Time series plots in R

I recently coauthored a couple of papers on trends in environmental data (Curtis & Simpson in press; Monteith et al. in press), which we estimated using GAMs. Both papers included plots like the one shown below wherein we show the estimated trend and associated point-wise 95% confidence interval, plus some other markings. The coloured sections show...

Read more »

Pre-calculating large tables of values

Pre-calculating large tables of values

Pre-calculating large tables of values I'm currently working on a project where we want to know, based on a euclidian distance measure, what is the probability that the value is a match to the another value. i.e. given an actual value, and a theoretical value from calculation, what is the probability that they are the same? This can be calculated...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)