5045 search results for "git"

mfg, mfcol, mfrow, and layout() – secret friends

August 26, 2013
By

I was working on an issue (enhancement) today in my groan R-package today that required adding additional plotting elements via lines() and points() to a device that had already been partitioned by layout(). The code I wanted to use was essentially: #...

Read more »

Using R to visualize Karpov-vs-Kasparov Lifetime winner-take-all tally

August 26, 2013
By
Using R to visualize Karpov-vs-Kasparov Lifetime winner-take-all tally

The Karpov vs. Kasparov rivalry holds a special place in the chess world.The idea behind this analysis is simple. If we take their lifetime games, plot the wins, what would it look like? We introduce one twist -- we'll be plotting the "winner-take-all"...

Read more »

Types of Data on R

August 26, 2013
By
Types of Data on R

There are different types of data on R. I use type here as a technical term, rather than merely a synonym of “variety”.  There are three main types of data: Numeric: ordinary numbers Character: not treated as a number, but as a word. You cannot add two characters, even if they appear to be numerical. Characters

Read more »

Changeability of Value at Risk estimators

August 26, 2013
By
Changeability of Value at Risk estimators

How does Value at Risk change through time for the same portfolio? Previously There has been a number of posts on Value at Risk, including a basic introduction to Value at Risk and Expected Shortfall. The components garch model was also described. Issue The historical method for Value at Risk is by far the most commonly … Continue reading...

Read more »

Using JavaScript visualization libraries with R

August 26, 2013
By

This is a short tutorial on knitr/markdown and JS visualization packages googleVis and rCharts. With these packages you can create web pages with interactive visualizations just using R. This will require minimal or no knowledge of HTML ...

Read more »

OpenCPU 1.0 release!

August 26, 2013
By

After more than 3 years of development, we release the first official version of the OpenCPU system. Based on feedback and experiences from the beta series, OpenCPU version 1.0 has been rewritten entirely from scratch. The result is simple and flexible API that is easier to understand yet more powerful than before. With the new release also comes a new website and...

Read more »

From SVG to probability distributions [with R package]

August 25, 2013
By
From SVG to probability distributions [with R package]

Hey, To illustrate generally complex probability density functions on continuous spaces, researchers always use the same examples, for instance mixtures of Gaussian distributions or a banana shaped distribution defined on with density function: If we draw a sample from this distribution using MCMC we obtain a plot like this one: Clearly it doesn’t really look

Read more »

Using R in Used Car Search

August 24, 2013
By
Using R in Used Car Search

Recently I was looking to buy a used car. I was using the Edmunds website to estimate the true market value of a used car. It has a nice click through interface where it guides you to input make, model, … Continue reading →

Read more »

Quantifying uncertainty around R-squared for generalized linear mixed models

August 22, 2013
By
Quantifying uncertainty around R-squared for generalized linear mixed models

People love $R^2$. As such, when Nakagawa and Schielzeth published an article in the journal Methods in Ecology and Evolution earlier this year, ecologists (amid increasing use of generalized linear mixed models (GLMMs)) rejoiced. Now there’s an R function that automates $R^2$ calculations for GLMMs fit with the lme4 package. $R^2$ is usually reported as a...

Read more »

Date Formats in R

August 22, 2013
By

Importing DatesDates can be imported from character, numeric, POSIXlt, and POSIXct formats using the as.Date function from the base package.If your data were exported from Excel, they will possibly be in numeric format. Otherwise, they will m...

Read more »