3580 search results for "gis"

Create a GENCODE transcript database in R

February 25, 2014
By

The following gist will help the researchers in creating the gencode transcript database using the bioconductor packages. I am assuming that the user's computer has preinstalled packages "GenomicRanges" and "GenomicFeatures". Following script has the f...

Read more »

Genetic data, large matrices and glmnet()

February 25, 2014
By
Genetic data, large matrices and glmnet()

Recently talking to a colleague, had contact with a problem that I had never worked with before: modeling with genetic The post Genetic data, large matrices and glmnet() appeared first on Flavio Barros .

Read more »

The forecast mean after back-transformation

February 24, 2014
By
The forecast mean after back-transformation

Many functions in the forecast package for R will allow a Box-Cox transformation. The models are fitted to the transformed data and the forecasts and prediction intervals are back-transformed. This preserves the coverage of the prediction intervals, and the back-transformed point forecast can be considered the median of the forecast densities (assuming the forecast densities on the transformed scale...

Read more »

Quick and dirty notes on General Linear Mix Models

February 24, 2014
By
Quick and dirty notes on General Linear Mix Models

My datasets tend to have random factors. I try to stick to general models whenever I can to avoid dealing with both random factors and complex error distributions (not always possible). I am compiling some notes here to avoid visiting … Continue reading →

Read more »

twitteR now supports database persistence

February 23, 2014
By

For a long time now I've wanted to add the ability for storing data from twitteR into a RDBMS. In the past I've done things by concatenating new results onto old results which simply becomes unwieldy. I know that many people have doctored up their own ...

Read more »

Toronto Data Science Group – A Survey of Data Visualization Techniques and Practice

February 23, 2014
By

Recently I spoke at the Toronto Data Science group. The folks at Mozilla were kind enough to record it and put it on Air, so here it is for your viewing pleasure (and critique):Overall it was quite well received. Aside from the usual omg does my voice ...

Read more »

Convex Hull of Polygon using Boost.Geometry

February 23, 2014
By
Convex Hull of Polygon using Boost.Geometry

Rcpp can be used to convert basic R data types to and from Boost.Geometry models. In this example we take a matrix of 2d-points and convert it into a Boost.Geometry polygon. We then compute the convex hull of this polygon using a Boost.Geometry function boost::geometry::convex_hull. The convex hull is then converted back to an R matrix. The conversions to and...

Read more »

Call for papeRs in the near future

February 21, 2014
By
Call for papeRs in the near future

I am really happy to share some great news with all R users about some upcoming conferences in the near future. The calls for papers are still active for all three below events that I plan to visit, I hope I could meet more and more useRs there!The closest event in time will be at Bucharest, Romania on the...

Read more »

Control R from Excel

February 20, 2014
By
Control R from Excel

Here is a simple script modified from univie.ac.at that you can just run in R. Follow the instructions in the ensuing dilaogue boxes after running the script. This RExcel interface will help you if you tend to work with people whose knowledge of R is ...

Read more »

Merge by City and State in R

February 20, 2014
By

Often, you'll need to merge two data frames based on multiple variables. For this example, we'll use the common case of needing to merge by city and state.First, you need to read in both your data sets:# import city coordinate data:coords <- read.cs...

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)