Articles by R – StudyTrails

15 Page Tutorial for R

August 15, 2016 | R – StudyTrails

For Beginners in R, here is a 15 page example based tutorial that covers the basics of R. Starting R – Trivial tutorial on how to start R for those just wondering what to do next after downloading R. Assignement Operator – Two important assignment operators in R are [Read more...]

R and GIS – working with shapefiles

April 18, 2016 | R – StudyTrails

R has some very useful libraries for working with spatial data. In this blog we will look at some of the libraries and demonstrate few basic functionalities. Lets start with reading a shapefile. How to read a shapefile : We will use the maptools package to read the shape file. Along ... [Read more...]

rapply function – explanation and examples

February 2, 2016 | R – StudyTrails

In this post we will look at one of the powerful ‘apply’ group of functions in R – rapply. rapply stands for recursive apply, and as the name suggests it is used to apply a function to all elements of a list recursively. We begin by first creating a straightforward list ... [Read more...]

R – Turorial II

October 12, 2011 | R – StudyTrails

  NOTE : This tutorial has been superseded by the exhaustive tutorials Here Lists Collection of Objects of same or mixed type.List may also contain vector or other lists. Create a list using the funtion list(). The following example shows operations that can be performed on a list. __ alphabets=list(a=”... [Read more...]

R – Tutorial I

October 7, 2011 | R – StudyTrails

NOTE : This tutorial has been superseded by the exhaustive R tutorials Here Basics Start R in Windows using the program menu. To quit :  q(). to call help for a function. help([function]) or ?[function]. use double quotes to escape special characters and tokens. e.g. ?”for”. objects() or ls() to ... [Read more...]

R and Java – JRI Using Netbeans

September 30, 2011 | R – StudyTrails

Setting up R-Java in Netbeans is pretty straight forward. For those who need a walkthough here are the steps. Download and install R (for this example version 2.12.2). install rJava package.   Download and install Netbeans.  In Netbeans Create a new java project. we will call it RJava. /library/rJava/jri/examples ... [Read more...]

R and Java – JRI using eclipse.

November 25, 2009 | R – StudyTrails

Update – Check out the new RJava Eclipse Plugin.R is a powerful language for statistical computing and graphics. R has a strong community support and is finding new use in the corporate world. If R can be integrated with Java, it would provide a greap acceptance into new products. A ... [Read more...]

Examples using R – Randomized Block Design

October 3, 2009 | R – StudyTrails

Problem : We wish to determine whether or not four different tips produce different readings on a hardness testing machine. An experiment such as these might be part of a gauge capability study. The machine operates by pressingthe tip into a metal test coupon, and frm the depth of the resulting ... [Read more...]

Examples using R – Analysis of Variance

September 30, 2009 | R – StudyTrails

Problem: A product development engineer is interested in investigating the tensile strength of a new synthetic fiber that will be used t omake cloth for men’s shirts. The engineer knows from previous experience that the strength is affected by he weight percent of cotton used in the blend of ... [Read more...]

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)