# Monthly Archives: June 2013

## Update to curves2d()

June 20, 2013
By

(This article was first published on geomorph, and kindly contributed to R-bloggers) Dear morphometricians, Below you will find an update to our function for digitizing curves in 2d: curves2d(). This solves a problem with the function plotting landmarks and semilandmarks out of sequence. To use it, you can "source()" the code from a directory, or copy and paste it...

## Using the Windows Clipboard, or Passing Data Quickly From Excel to R and Back Again

June 19, 2013
By

Two of my favorite functions are copy.table() and paste.table(). I’m going to turn this story on its head and give you the ending first. The first allows you to copy a data frame to the clipboard in a format that … Continue reading →

## literacy rates using semantics and R

June 19, 2013
By

(This article was first published on - R, and kindly contributed to R-bloggers) Somehow I stumbled into the world of linked open data trying to pull information easily off of a wikipedia page without having to write a customer scrapper. Enter in dbpedia, semantic technologies and some wonderful R packages take care of the back-end coding. The Research Group...

June 19, 2013
By

## Draw nicer Classification and Regression Trees with the rpart.plot package

June 19, 2013
By

by Joseph Rickert The basic way to plot a classification or regression tree built with R’s rpart() function is just to call plot. However, in general, the results just aren’t pretty. As it turns out, for some time now there has been a better way to plot rpart() trees: the prp() function in Stephen Milborrow’s rpart.plot package. This function...

## Spatial Overlays with R – Retrieving Polygon Attributes for a Set of Points

June 19, 2013
By

A short tutorial for spatial overlays using R-GIS..library(sp)library(dismo)# spatial dataalt gadm # viewplot(alt)plot(gadm, add=T)# some addressespts # make it spatialcoords spdf_pts # assign CRS/projectionproj4string(spdf_pts) # check datastr(spdf_pts)# plot it on topplot(spdf_pts, cex = 2, col = 2, add = T)# do an intersection (points in polygon)# yielding the polygon's attribute dataover(spdf_pts, gadm)

## Compiling R 3.0.1 with MKL support

June 19, 2013
By

Before you begin, be aware that there is others excellent posts about the issue, as: 1. Compiling 64-bit R 2.10.1 with MKL in Linux 2. Speeding up R with Intel’s Math Kernel Library (MKL) 3. Performance benefits of linking R to multithreaded math libraries 4. Using MKL-Linked R in Eclipse But, as recently i faced some problems to The post Compiling...

## Visualizing transitions with the transitionPlot function

June 19, 2013
By

A transition between states - the above is a simulation of before and after surgery where I've highlighted the large proportion that...

## An R package for Smith-Wilson yield curves

June 19, 2013
By

Yield Curve fitting - the Smith-Wilson method Yield Curve fitting - the Smith-Wilson method This article illustrates the R package SmithWilsonYieldCurve, and provides some additional background on yield curve fitting. The method implemented in the package fits a curve to interest rate market...

## R Plotting Financial Time Series

June 19, 2013
By

In my little world of finance, data almost always is a time series.  Through both quiet iteration and significant revolutions, the volunteers of R have made analyzing and charting time series pleasant.  As a mini-tribute to all those who have...