• Midhunshah

How to accelerate your research using R

R is a powerful computation program, generally known as an environment for statistical computation and graphics. Nowadays this program is an essential tool for data scientists. The importance of R on research field is inevitable, when the datasets are complex and huge in number. The researchers have to be involved with collection, preparation, analysis, visualization, management, and preservation of large set of information. But unfortunately most of the researchers, especially biologists/ecologists are not have enough time to spend on coding,especially when they are in the middle of their research projects. But keep in mind the famous quote:

“Give me six hours to chop down a tree and I will spend the first four sharpening the axe.”

― unknown

Learning R for your research have same effect, it will sharpen your skills. From my own experience, I done my six month estimated data analysis within 6 hours. Most people thinks that R is just a program for statistical analysis. I must tell that, It is the bare minimum knowledge of R they have. In this post, I am trying to tell the possibilities of R. Whatever your research is, or what kind of data you are dealing with, R is the solution.

Automation of analysis

You can use R for automation of your analysis. This could be easy when you have lots of data with same structure and complexity. If it is not the same also you could do by make the code more smarter. You could plot all the data sets from a single folder(or multiple folders) within seconds. Write all the algorithms you could set, as the R only mounts specific libraries, the control flow swift with ease. Unlike other numerical computation programs it only take very little RAM(but depends on you data size).

Optimized tools for Numerical modeling & statistics

R is an optimized program, specifically for mathematical models. A wide varieties of tools from Comprehensive R Archive Network (CRAN) and inbuilt functions are available. All kinds of linear, non linear functions, time series analysis can be effectively done on R, but everything have to previously defined or you have to use user libraries(fortunately , you will get a lot from CRAN. Have a look on what R can do on models and analytics :

  • Linear & Non linear modeling

  • Multi level regression analysis

  • Multivariate statistics.

  • Time Series Analysis.

  • Wavelet Analysis.

  • Empirical Orthogonal Function

  • Factor analysis(PCA/MCA/CCA.. .

  • . . . . …………………………….

Automate image editing ,processing and shape analysis

Most researchers depends on various image editing softwares to edit their images for their day today research life and everyone have their own favorite lists to do this. I can’t tell you that you can do all the image editing in R like in Photoshop, but you can do more than that. For example if you want to change the background of a picture, what will u do?. you could simply do it on Photoshop or any other contemporary image editing softwares. It is surely a simple job, but how is it when you have 100 more, or 1000 images. There R is …!!!!. You could batch process, automate the editing process with minimum effort.Another essential feature you could make use of R is feature extraction and statistics from imageries. It is a trending topic as it is widely used in computer vision, machine learning and AI. Most used shape analysis methods such as elliptical Fourier descriptor(EFD), Thin plate splines(TPS) can be easily executed.

Fine tune your graphics

R is famous for its graphics. From my perspective I like more on its fine tuning capability in the graphical display, in which you can do what exactly  your outlook from the data. You don’t have any limit, or constraints for a plot you imagine. But I am sure, for the first you get suffer, which is obvious. As far as I know, there are three graphic systems : a) The base one b) ggplot c) Lattice. I will tell about more on these things on my later posts.

Geo-spatial Analysis and Remote sensing with ease.

Ecologists/Earth science researchers need to address there topic’s spatial relevance and dynamics. Now a days this is somewhat easy by remote sensing , A lot of satellites are revolving around to do this work and are mostly free to access. The dark side is ..you have to download and process tons of MBs/GBs of huge data, that hang your PC. This is happened because you need to download the entire world map(In some Live access servers(LAS), things are different ), mostly when you want level 1 datasets. The wrong thing is ; we are very happy with GUI and do  browsing through the map, this take lot of RAM and again make your PC hot.  By using R you can skip the previewing of data, but you can conjure all the variables you need. You can crop with thousands of bands with in seconds. Here some of the analysis I done recently, but you do many more.

  • Spatio-temporal Data Analysis.

  • Spatial statistics, including spatial auto correlation and spatial regression.

  • Geo-visualization.

  • Bathymetry and depth contour analysis.

  • Sampling strategy aids.

  • Pixel extraction

  • band stacking.

  • spatial modeling and simulation.

  • empirical orthogonal teleconnections.

Do all your documentation in R.

when I got grip on R, I take an oath that I could do all my documentations in R. At the beginning , I thought I just fancied because I like R, which made a lot of leisure time for me. However, the documentation power of R is beyond I could imagine. To be frank, I can’t explore much on this documentation for my paper writing. I done some  pdf extractions, and had a try on presentations. It feels great!!. Here the list I found that you can do on documentations.

check these things in your rstudio

  • R markdown and KnitR for writing and export to docs

  • R presentations are usually html or pdf(But there are ways to convert to ppt).

  • Make beautiful animations for your presentations.

  • RefManageR- reference manager/citation

  • Pdf reading and extarction

  • All the document loving formats can easily edit(.csv,.doc,.html, .nc,.text……and many more)

  • Latex/bibitex editing

  • Finally make your own database using RSQLite, An awesome method to make your research in order

And finally ...Make a domain of yourself

R program is not a proprietary program, it is a free one(open source), which means it respects user’s rights. You could develop, engage, use, reuse and modify for your needs and share with your friends for a try. The learning gap between a programmer and developer in R is seemed to be narrow. I am not a programmer, but I develop a couple of packages(Not yet published).In R world everyone have a space to grow independent of your subject area. I hope this post make an overview of what you can do on R. But I am sure that I didn’t explain everything about R. I promise you that my upcoming posts will explain things in detail.

53 views0 comments

Recent Posts

See All


info@mysite.com   |   Ecosmith Team CA 94158

  • Facebook Basic Black
  • Twitter Basic Black
  • Black Instagram Icon